About Us Documentation

Contact Site Map



BASH Implementation Notes

The Super ReadyPak implementation of BASH uses a user's home directory as the source for any initialization files and to store any history files. BASH will look for an environment variable named HOME to establish a user's home directory. If that doesn't work, then the home directory will default to c:\users\default

Variables containing paths (e.g. PATH, CDPATH) which in UNIX are : (colon) separated should be separated with ; (semicolon).

Due to the way that arguments are quoted, you might need to call your Windows shell twice in order to execute builtin functions (like dir). For example, to execute a command's builtin dir, you might execute:

     $COMSPEC $COMSPEC "/c dir c:\\"

.bat or .cmd execute in the normal window shell and pass the command to that shell.

If you create a shell script for an interpreter other than bash (using #! on the first line of your script), you must use a fully qualified name and extension when specifying your interpreter. For example, a perl script might start like this:


Most of the utilities do not have globbing builtin. If globbing is needed please execute bash.

Normally bash will net the current working directory for all drives prior to executing a command. However under Windows/NT, this can be very slow when using removable media drives (e.g. CD and floppy drives) if the drive does not have media in it. Therefore, under Windows/NT bash only sets the current working directory of non-removable drives unless the set_allcwds variable is set.

To return to the Ready-to-Run Software Super ReadyPak Table of Contents please press here.


Email addresses listed on this site may  NOT be used for unsolicited commercial email.

Ready-to-Run Software, Inc Privacy Statement

Portions (c)Copyright, 1996-2005 by Ready-to-Run Software, Inc
(All rights reserved.)
212 Cedar Cove
Lansing, NY 14882
Phone: 607 533 UNIX (8649)
Fax: 607 533 4002