Sunday, February 12, 2012

Command Line cmdexec in a job

I'm trying to zip my backup files using a zip program, scheduled in a
job. But I keep getting a error message stating.
"... (reason: The system cannot find the file specified). The step
failed."
Here is the step's text...
e:\WZZIP e:\backups\Mike.zip
If I use this one it works fine.
c:\winnt\wzzip.exe e:\backups\Mike.zip e:\backups\*.*
Any suggestions?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!So where is the wzzip.exe program?
--
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"SQL Dude" <dude@.sql.com> wrote in message
news:eIMCZw8pDHA.2188@.TK2MSFTNGP11.phx.gbl...
> I'm trying to zip my backup files using a zip program, scheduled in a
> job. But I keep getting a error message stating.
> "... (reason: The system cannot find the file specified). The step
> failed."
>
> Here is the step's text...
> e:\WZZIP e:\backups\Mike.zip
>
> If I use this one it works fine.
> c:\winnt\wzzip.exe e:\backups\Mike.zip e:\backups\*.*
> Any suggestions?
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

No comments:

Post a Comment