Running a .bat file located in %AppData% from context menu
问题 When I add an entry to the Windows Explorer context menu using the registry entries as follows: [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell] [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Similar Files] [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Similar Files\command] @="%AppData%\\FindAlike\\AddRightClickFile.bat \"%1\"" I get an error Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item. If I copy the file AddRightClickFile