delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/25/17:04:28

From: kwright AT aspectdv DOT com (Kevin Wright)
Subject: RE: Calling CMD.EXE in NT
25 Jan 1999 17:04:28 -0800 :
Message-ID: <008101be487d$8ba26460$8f88f726.cygnus.gnu-win32@holstein.ASPECTDV.COM>
References: <000201be480c$b0b45bd0$0301a8c0 AT tgoodman8>
Mime-Version: 1.0
To: "'Todd Goodman'" <tsg1 AT earthlink DOT net>
Cc: <gnu-win32 AT cygnus DOT com>

Todd,

I have cmd.exe in my path, thus:
~ > type cmd
cmd is hashed (/d/WINNT/system32/cmd)

Because it is on my D: drive which is in the mount table for cygnus, 
it only needs one "/"

Example of usage:

~ > cmd /c dir

gives me the "dos" version of dir as opposed to cywin's which is 
the same as ls.

Hope this helps,

Kevin

> -----Original Message-----
> From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT com]On
> Behalf Of Todd Goodman
> Sent: Sunday, January 24, 1999 6:45 PM
> To: gnu-win32 AT cygnus DOT com
> Subject: Calling CMD.EXE in NT
> 
> 
> Can someone give me a pointer on running CMD.EXE.
> 
> For example, I've tried typing '//c/WINNT/SYSTEM32/CMD /c dir' in
> at the bash prompt and I always get 'The syntax of the command is
> incorrect.'
> 
> I know I've seen others do this.
> 
> Thanks,
> 
> Todd Goodman
> -
> For help on using this list (especially unsubscribing), send 
> a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019