[Cialug] OT: Interesting "feature" in Windows

Tim Wilson tim_linux at wilson-home.com
Tue Sep 25 16:47:01 CDT 2007


I ran across a problem today, that I thought some of you might enjoy.  A
customer was running a product we talk to in a directory like "C:\Program
Files\Foo Bar\Foo2".  In this directory, my app runs a batch file.  The
easiest way to execute the batch file from a C program is to call system(),
right?  That's great, except it has a problem with spaces.  No problem, I'll
put escaped double quotes around the argument to system().  That too, did
not work.  After doing some Googling, I found something that sounds like
others are experiencing (someone created a bug

-- 
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20070925/31785d94/attachment.html


More information about the Cialug mailing list