Article View: borland.public.cppbuilder.nativeapi
Article #11828Re: calling dos program
From: Fraser Ross
Date: Sun, 11 Jan 2004 19:48
Date: Sun, 11 Jan 2004 19:48
9 lines
1545 bytes
1545 bytes
It works with long file names somehow. The CreateProcess function removes any double quote marks around the program name or parameter. The csw.exe also removes double quote marks around a parameter but they are unfortunately removed already. I'll probably use short file names and rename the output file. When I used filemon by sysinternals the csw.exe clearly truncated a directory+file name > 64 characters when reopening the file it creates to write the quantity in the header. Fraser.
Technical Details
Message-ID:
<4001a874@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<400038d3@newsgroups.borland.com> <40005bcc$1@newsgroups.borland.com> <400164b5@newsgroups.borland.com> <4001863f@newsgroups.borland.com> <40019e08@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,cd433fcf47e8f03b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-11 12:09:42 PST From: "Fraser Ross" <fraserATmembers.v21.co.unitedkingdom> Newsgroups: borland.public.cppbuilder.nativeapi References: <400038d3@newsgroups.borland.com> <40005bcc$1@newsgroups.borland.com> <400164b5@newsgroups.borland.com> <4001863f@newsgroups.borland.com> <40019e08@newsgroups.borland.com> Subject: Re: calling dos program Date: Sun, 11 Jan 2004 19:48:02 -0000 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.225.134.122 Message-ID: <4001a874@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073850484 80.225.134.122 (11 Jan 2004 11:48:04 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail