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?
This fails:
@echo off
md Folder_01
Folder_02
02_SubFolder_01
Folder_03
03_SubFolder_01
del "C:\Users\username\Desktop\Test for Bat.bat"
%~f0
is still the correct full path to the batch file even after it has done acd
. (Windows 7 SP 1, version 6.1.7601.17504.)