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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

createproccess paramaters

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
I have written a handler for createproccess which works well except.
If I assign a Filename to a variable and pass it as a Parameter and it contains spaces
e.g 'C:\a folder\name.bmp', (we are using this to pass a bitmap filename to an editor.)

Then Create process will see this as 2 parameters
Is there any way round this other than by changing the working directory and so not having to pass the whole thing.
Steve.
 
Try '"C:\a folder\name.bmp"'.

HTH

--- markus
 
Problem solved, Cheers Markus.
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top