🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1139

Re: calling batch file from C prog

#1139
From: David C. Wright
Date: Sat, 05 Aug 1995 00:55
18 lines
1344 bytes
In alt.msdos.programmer article <807541583snz@genesis.demon.co.uk>,
Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
> In article <plAIw0zpkHXT084yn@merlin.magic.mb.ca>
>            wrightd@merlin.magic.mb.ca "David C. Wright" writes:
> 
> >system("c:\dos\command.com /E:1024 /K script.bat");
> 
> It should be pointed out that the correct way to represent a backslash
> character in a character constant or string literal is \\

Yeah, I always make that goof and catch it in the first test run.  It's
like spelling 'deceive'.  I know the rule, but I still have to think about
it.  Damn finger reflexes :-)

--
              David C. Wright | wrightd@merlin.magic.mb.ca

       Any order that can be misunderstood has been misunderstood.
Technical Details
Message-ID: <pQqIw0zpkzUf084yn@merlin.magic.mb.ca>
Path: arc1-ca.pugleaf.net!news.magic.mb.ca!not-for-mail
References: <D93H3A.tv@bashful.demon.co.uk> <3q0107$j4p@news.iag.net> <plAIw0zpkHXT084yn@merlin.magic.mb.ca> <807541583snz@genesis.demon.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.magic.mb.ca!not-for-mail
From: wrightd@merlin.magic.mb.ca (David C. Wright)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.lang.c
Subject: Re: calling batch file from C prog
Date: 4 Aug 1995 19:55:52 -0500
Organization: Informatics
Message-ID: <pQqIw0zpkzUf084yn@merlin.magic.mb.ca>
References: <D93H3A.tv@bashful.demon.co.uk> <3q0107$j4p@news.iag.net>
 <plAIw0zpkHXT084yn@merlin.magic.mb.ca> <807541583snz@genesis.demon.co.uk>
Reply-To: wrightd@merlin.magic.mb.ca
NNTP-Posting-Host: merlin.magic.mb.ca
X-Newsreader: Yarn 0.84 with YES 0.20.B0509