Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Execute external application

Author  Topic 

devinev
Starting Member

16 Posts

Posted - 2007-02-21 : 10:55:12
I am having trouble with the following script command:

set @Command = 'master..xp_cmdshell ''C:\"Program Files"\MyApps\CreateFolders.exe /systemID ' + @System_ID + ' /projectID ' + @Project_ID + ' /projectName ' + @Project_Name + ' /test ' + @Test_Name + ''''

I get the following error:

'C:\"Program Files"\MyApps\CreateFolders.exe' is not recognized as an internal or external command, operable program or batch file.

The executable is definitely in that location and I cannot see anything wrong with it myself. If anybody has any input I would appreciate hearing from you.

Thanks,



   

- Advertisement -