Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <1DB8BA4BAC88D3118B2300508B5A552CD9285C@mail.fitlinxx.com> From: David Bolen To: Cygwin list Subject: RE: Cmd prompt functions missing Date: Thu, 3 Aug 2000 13:08:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Jonas Jensen [bones0_list AT hotmail DOT com] writes: > I've found the Cygwin bash shell to be a perfect alternative to > cmd.exe. However, there are some functions missing, or I can't find > them: Most of these commands are just internal commands from 'cmd' (start/cls) or external programs in your Windows directory (mode). I'm not personally familiar with 'runas'. For me, I just define a general purpose alias to give a command to the original command interpreter, and a few special aliases for commands I really like, e.g.: # # Some aliases that want to use the original command processor # alias cmd='cmd /c' alias cls='cmd cls' alias dir='cmd dir' alias copy='cmd copy' alias del='cmd del' This way you can say "cmd xxxx" for any random command processor command. Of course, you could always just type "cmd /c" manually, but I'm for saving three keystrokes. Oh, and you should be able to run mode directly if you type it as "mode.com" (just as you need the .bat extension for batch files). But if you do "cmd mode" it'll work too since cmd will search for .com files. The others I have because I use them more frequently (e.g., dir can be much faster than ls on a remote system, copy/del is faster to floppy drives than cp, and I just like cls :-) -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l AT fitlinxx DOT com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com