[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Call System Question



Title: RE: Call System Question

I found through various tests I did about a year ago that:
  cmd.exe is an NT program, analogous to command.com.  On NT I could call either cmd.exe or command.com.  On 95 (and probably also 98), I had to call command.com

  typically /C following command.com  or cmd.exe is the switch to use (e.g. call system using 'command.com /C .......').  Open your DOS prompt and type command /? to see the various switches.  Might prove useful some day.

Bob

-----Original Message-----
From: Buddy Sandridge [mailto:Buddy.Sandridge@GEAC.COM]
Sent: Wednesday, September 01, 1999 2:31 PM
To: Multiple recipients of list SQR-USERS
Subject: Re: Call System Question


Actually, on both my win-95 and NT machines, the mkdir at a command prompt makes
a directory with the correct name.  However, I didn't try a call-system command,
so maybe it's different when called that way for Win-95.  NT should do the
correct thing either way.

Buddy.





Bob Buford-Abba Systems <bbuford@GALEIND.COM> on 09/01/99 02:12:40 PM

Please respond to SQR-USERS@list.iex.net

To:   Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc:    (bcc: Buddy Sandridge)
Subject:  Re: Call System Question




You're close.  Just add either command.com /C or cmd.exe depending on
whether your system is Windows or NT.  Recognize that the following command
will result in c:\temp\custom~1, since you will be working through DOS and
hence limited to 8.3

let $Call_Str = 'command.com /C mkdir c:\temp\custom_letters'

Bob