I am just trying to create many folders and sub folders from a batch file. After I have done that, I need to delete the .bat file. How can I do this?
@echo off md Folder_01 Folder_02 02_SubFolder_01 Folder_03 03_SubFolder_01 del "C:\Users\username\Desktop\Test for Bat.bat"
%~f0is still the correct full path to the batch file even after it has done a
cd. (Windows 7 SP 1, version 6.1.7601.17504.)