Hello All,
We have this issue while running Batch jobs in one of our servers.
When running this particular batch file, it is supposed to send a log to a file called "doDaily.log"
This is how the variable is set:
set samplelog=\\%COMPUTERNAME%\scripts$\batchJobs\logs\doDaily.log
When we run the script we get the message "access is denied" and so it does not create a log, however, if we give the path
set samplelog=e:\scripts$\batchJobs\logs\doDaily.log it creates a log.
Is there something wrong with the varaible or do we need to do anything with the path?
NOTE: It runs fine in another server.
Thank you