🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11406

Re: CreateProcess

#11406
From: Remy Lebeau (TeamB)
Date: Sun, 08 Feb 2004 22:55
16 lines
1528 bytes
"Fraser Ross" <fraserATmembers.v21.co.unitedkingdom> wrote in message
news:40269570@newsgroups.borland.com...

> command_line has something like "prog.exe \"C:\temp\file.ext\"".

You need to double up on the slashes inside the filename:

    "prog.exe \"C:\\temp\\file.ext\"".

You should also be specifying the full path to the .exe whenever possible:

    "C:\\folder\\prog.exe \"C:\\temp\\file.ext\"".


Gambit
Technical Details
Message-ID: <4026bc92$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40267a98@newsgroups.borland.com> <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com> <40269570@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b85ad1154737de24
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-08 15:10:12 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40267a98@newsgroups.borland.com> <254d20lh2raerd347s2t8qpa8u1dcom3e0@4ax.com> <40269570@newsgroups.borland.com>
Subject: Re: CreateProcess
Date: Sun, 8 Feb 2004 14:55:09 -0800
Lines: 18
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: 67.22.138.253
Message-ID: <4026bc92$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076280466 67.22.138.253 (8 Feb 2004 14:47:46 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail