<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1597" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=130385021-25092007><FONT face=Arial
color=#0000ff size=2>And that was all we got from Tim as agents from Redmond
beat down the door and took him prisoner.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=130385021-25092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=130385021-25092007><FONT face=Arial
color=#0000ff size=2>-Nate</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tim Wilson
[mailto:tim_linux@wilson-home.com] <BR><B>Sent:</B> Tuesday, September 25,
2007 4:47 PM<BR><B>To:</B> cialug@cialug.org<BR><B>Subject:</B> [Cialug] OT:
Interesting "feature" in Windows<BR></FONT><BR></DIV>
<DIV></DIV>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 <BR clear=all><BR>-- <BR>Tim </BLOCKQUOTE></BODY></HTML>