title: SQL Server Job - The system cannot find the file specified
body: <p>I am running a SQL Server Agent job which zips up my database backups. The application I run is a C# Windows Application which takes in the path of the database as an argument. When I run the application form a command prompt all works well. However when I run it from within a sql server job using the Operating System (CmdExec) as the type I get the following error.</p>
  
  <p>“The system cannot find the file specified”</p>
  
  <p>Within the job I have the following as the command:</p>
  
  <p>D:\DatabaseBackups\DatabaseBackupManager.exe D:\DatabaseBackups\SubDit\Database.bak</p>
  
  <p>I have tried setting specific directory permissions for the SQL Server Agent account on the DatabaseBackups folder but still get the same error.</p>
  
  <p>Can anybody throw any light onto this one as Google did not throw up anything that worked and is starting to drive me a crazy.</p>
  
  <p>Thanks</p>