How to make this bat script run as admin either on the local computer as a scheduled task or startup up scrip?
forfiles -p "C:\ProgramData\ESET\ESET Endpoint Antivirus\Logs\eScan" -s -m *.dat /D -0 /C "cmd /c del @path"
How to make this bat script run as admin either on the local computer as a scheduled task or startup up scrip?
forfiles -p "C:\ProgramData\ESET\ESET Endpoint Antivirus\Logs\eScan" -s -m *.dat /D -0 /C "cmd /c del @path"
If you are just running this once, and not automating a number of scripts, you can just hold shift and right click to run as admin.