Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command prompt in SQL job

Status
Not open for further replies.

icemel

MIS
Oct 17, 2005
463
US
Hi,

Not sure if I'm doing this right. I need to start an .exe from a job step.

I selected "command prompt" as command type, and put this in the bottom section:

cd d:
cd myDir
myExe.exe

except that I don't think it worked. Is this the correct way to sequence commands?

Thanks
 
Try using xp_cmdshell if your permissions are sufficient.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'll have the roast duck with the mango salsa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top