[Cialug] OT: Interesting "feature" in Windows
David Champion
dchampion at visionary.com
Tue Sep 25 17:05:28 CDT 2007
Back in the good old days when I was writing Windows desktop apps... I
used to always get around this by putting quotes around the path names.
This worked, IIRC in Visual Basic and Visual FoxPro.
How about people putting single quotes in filenames, like "This is
Dave's File.doc". Who would do a thing like that? Had that blow up a PHP
script recently. Grrr...
-dc
Nathan C. Smith wrote:
> 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
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list