New
#1
Launch batch file from the context menu in admin mode
Hi,
I found a registry script that creates an option on the windows explorer context menu that allows you to run a batch file.
The program that I use within the batch file is producing an access denied error which I dont get if I run the batch file normally. I wondered if this was something to do with privileges. So is there maybe some way to adjust this regedit script so it runs the command prompt with more privileges?
Code:Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\BackupFolderLocally] @="Backup Folder Locally" [HKEY_CLASSES_ROOT\Directory\shell\BackupFolderLocally\command] @="\"E:\\User\\tools\\BackupFolderLocally.bat\" \"%1\""