View Single Post
  #1  
Old 05-17-2004, 10:02 AM
VBuild_Rookie VBuild_Rookie is online now
Registered User
 
Join Date: 05-07-2004
Posts: 23
need help passing params to DOS cmd

I have a step that runs a dos cmd in it I have

%DOSCMD% "C:\My Projects\Sykes Newton\Enterprise\Version 1.0\ConfigManger\ConfigUpdate.exe" "/
configuration/appSettings/add[@key='DatasourceConnection']/@value" "initial catalog=PG_Newton;data source=SQL1;u
ser=USER1;Password=USERPWD1;Persist Security Info=False;" "C:\My Projects\Sykes Newton\Enterprise\Version 1.0\Set
up\Source\Server\Web\RemotingServices\Web.config"


I get this error
Building project step 'Remoting Services - Change the DB Name'...
Error expanding macros in property command: C:\WINDOWS\system32\cmd.exe /C "C:\My Projects\Sykes Newton\Enterprise\Version 1.0\ConfigManger\ConfigUpdate.exe" "/
configuration/appSettings/add<Error at Line 1, Column 5 (Syntax error)
Code: key='DatasourceConnection'>
Build ended.


but I can run the exact command in the dos window......any ideas ??
Reply With Quote