New
#1
BATCH - Run as Admin from current path instead system32 folder.......
For order a my folder i have created a similar .bat files:
There's a big issue......... i need to run this batch as admin and i have used the command "Run as Admin" from context menu and i hope i don't have create a BIG ISSUE on my windows 10 installation.Code:md A md B ... ... md Z move a*.* .\A move b*.* .\B .. .. move z*.* .\Z
Because this BATCH it's not corrently been executed from the path how it's stored the batch but all commands it's be correctly runned from C:\WINDOWS\SYSTEM32 folder!!!
I don't have idea because there's append but right now on C:\Windows\System32 i have all subforder called A B C etc whit all files MOVED inside!!
Some files it's not be moved because i see from windows prompt it's say it's protect (and problably all files it's currently used by windows 10).
I have right now move back all files from all subfolder and i hope i need to reformat my windows or obtain boot problems at next reboot of my pc.... instead this because there's append !?!?
How i can fix this issue ? Because if i use RUN AS ADMIN for a batch files the bat it's runned from system32 folder and not from the corrent path how it's stored the bat files ??