Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-01-2004, 06:11 PM
sridhar sridhar is offline
Registered User
 
Join Date: 04-01-2004
Posts: 1
Question Passing commandline parameters that have spaces with DOSCMD

I am trying to run a batch file that takes 2 parameters.
The second parameter can contain spaces. So I use the following in VisualBuild:
%DOSCMD% mybatchfile.bat param1 "param two"

This fails. If I just use
mybatchfile.bat param1 "param two"
it is successful when run visually.
But, this fails if I schedule it to run using the visbuild command line version.
Reply With Quote
  #2  
Old 04-01-2004, 06:16 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Try

%DOSCMD% call mybatchfile.bat param1 "param two"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:44 PM.


Copyright © 1999-2023 Kinook Software, Inc.