Good afternoon.
I have BAT file that creates a text file with directory of the folder that it is in and puts in on the desktop. Here is the code:
dir "%~dp0" /b > "%USERPROFILE%\Desktop\list.txt"
This works 100% for me but I would like to append the name of the folder the BAT file is in to...