[Cialug] OT: Interesting "feature" in Windows
Nathan C. Smith
nathan.smith at ipmvs.com
Tue Sep 25 16:51:09 CDT 2007
And that was all we got from Tim as agents from Redmond beat down the door
and took him prisoner.
-Nate
_____
From: Tim Wilson [mailto:tim_linux at wilson-home.com]
Sent: Tuesday, September 25, 2007 4:47 PM
To: cialug at cialug.org
Subject: [Cialug] OT: Interesting "feature" in Windows
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/a1e67c1f/attachment.html
More information about the Cialug
mailing list