I want to create personal shortcut on my desktop for changing password using shiftkeys .exe (C:\Windows\System32\sethc.exe). I want to automate the process in a way where my batch file will remove itself after completing its task. I am having .exe file renaming sethc.exe to sethc2.exe, Below is the code that i am using:
del sethc.exe
ren sethc2.exe sethc.exe
del %0
Batch file is deleting itself somehow but it's not able to remove of the .exe and the renaming. Is there anything that i am missing out here????
Bookmarks