|I wrote a batch file to run a history scan from a usb drive and save the log file back onto the drive. It worked all last week, but now I am getting an "Error 5:Access denied." message upon starting the batch file. Not sure where to go with this one. Any help would be appreciated.|
Here is the code that worked last week:
iehv /shtml "c:\urls.html"
move c:\urls.html %drive%
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "urls.html" "urls_%username%_%computername%_%%e-%%f-%%g.html"