Hi Everyone,
I've got a batch file which is being executed by a SQL Server Job.
However the batch file generates some files and other stuff so it means it needs to be executed in the same folder.
Trouble is, the SQL Server Agent executes the batch file in the windows\system32 folder.
Is there a way to set the working folder for a server job?
Thanks
--------------------
Procrastinate Now!
I've got a batch file which is being executed by a SQL Server Job.
However the batch file generates some files and other stuff so it means it needs to be executed in the same folder.
Trouble is, the SQL Server Agent executes the batch file in the windows\system32 folder.
Is there a way to set the working folder for a server job?
Thanks
--------------------
Procrastinate Now!