Command Prompt for Windows




Miscellaneous Options

The system menu contains the Attributes... option, as below :-

When selected will display the Attributes window containing the Misc tab, as below :-

The Misc tab displays various miscellaneous options that do not fit any where else. These include Update options, Program Menu cache options, Mail options, Unix look and feel options and Drive Bar options.

Update Options

Selecting the "Auto check on startup" option will either switch this mode off, signified by no tick mark next to the option text, or switch this mode on, signified by a tick mark next to the option text. When "Auto check on startup" is enabled the WinOne® Command Prompt will check for new versions of the WinOne® Command Prompt over the internet every time the WinOne® Command Prompt is started (at most, once per day). The last date the WinOne® Command Prompt checked is displayed under the Check Now button. If a new version is found a short message is displayed. No check is performed if the computer running the WinOne® Command Prompt is not connected to the internet.

The Check Now button will check for new versions of the WinOne® Command Prompt over the internet immediately. When a new version is found the following window is displayed :-

Press the OK button to go to the WinOne® Command Prompt web page to download the new version of the WinOne® Command Prompt. Press the Cancel button to close the window.

If no new version is found the following window is displayed :-

Press the OK button to close the window.

When the computer running the WinOne® Command Prompt is not connected to the internet, clicking on the Check Now button will prompt the user to dial-up to the internet. The check is performed after the internet is connected.

Program Menu Options

Selecting the "Use Cache" option will either switch the Program Menu icon cache off, signified by no tick mark next to the option text, or switch the Program Menu icon cache on, signified by a tick mark next to the option text. When this feature is enabled then a sub-directory called CACHE is created under the WinOne® Command Prompt installation directory and is used to store the icons that are used to create the Programs... menu. The cache is off by default.

Press the Empty button to delete the CACHE sub-directory and all the icon images stored in the CACHE sub-directory.

Mail Options

Selecting the "Mail checking" option will either switch mail notifications off, signified by no tick mark next to the option text, or switch mail notifications on, signified by a tick mark next to the option text. When this feature is enabled then the WinOne® Command Prompt will display the message "You have new mail" when new unread mail has arrived and is waiting in your incoming mail box.

Unix Options

Selecting the "Unix look and feel" option will either switch this mode off, signified by no tick mark next to the option text, or switch this mode on, signified by a tick mark next to the option text. When Unix look and feel is enabled this will then give the WinOne® Command Prompt a look and feel similar to the Unix Operating System.

Unix Paths

Path names under Unix use front slash characters (ie' / ') instead of back slash characters (ie. ' \ ') to separate the directory names. For example, the Windows system directory is specified in the following way :-

D:/WINDOWS/SYSTEM

Unix Command Line Switches

Command line switches under Unix are signalled using a minus sign character (ie. ' - ') instead of a front slash character (ie. ' / '). Also, a space character must proceed the minus sign character for the command line switch to be correctly interpreted. For example, to display a wide sorted directory listing of all the files in the Windows system directory, enter at the command prompt :-

DIR D:/WINDOWS/SYSTEM/*.* -OW

There are some special cases where a space character followed by a minus sign character should NOT be interpreted as a command line switch, but instead be interpreted simply as a space character and a minus sign character. For example, to remove the Read Only attribute for all the files in the current directory :-

ATTRIB -R *.*

under Unix mode, will be incorrectly interpreted as :-

ATTRIB /R *.*

In this case, simply add an extra minus sign character. The WinOne® Command Prompt will interpreter a space character followed by two minus sign characters as simply a space character and a minus sign character :-

ATTRIB --R *.*

Similarly, text mode type programs that already use minus sign characters to specify command line switches, will also need an extra minus sign character inserted to be correctly interpreted under Unix mode. For example, to test the contents of a ZIP file, under Unix mode, enter at the command prompt :-

PKUNZIP --T SOMEFILE.ZIP

Command line strings

There is no difference between strings specified under Unix mode or DOS mode.

Batch Files

Batch files ignore Unix look and feel and front slashes (ie. ' / ') can not be used as a directory separator and minus signs (ie. ' - ') can not be used to specify a switch inside a batch file. Batch files must use back slashes (ie. ' \ ') as directory separators and front slashes (ie. ' / ') to specify a switch.

External Commands

External commands, if carefully written, supports Unix look and feel. The WOIO SDK includes functions to simplify the mapping of directory separators and switch specifiers back and forth.

Displaying converted command line

The DOS command line equivalent of a Unix command line entered at the command prompt can be set to display after each command is entered by switching the "Display converted command line" option on.

Drive Bar Options

Selecting the "Windows drive icons" option will set the WinOne® Command Prompt to use the default icons included in the Windows operating system in which the WinOne® Command Prompt is currently running on. This is signified by a dot mark appearing next to the "Windows drive icons" text. Similarly, select the "Custom drive icons" to set the WinOne® Command Prompt to use it's own built in drive icons. The icons will be the same across all Windows operating system. When "Custom dirve icons" is selected a dot mark will appear next to the "Custom drive icons" text.

The option "Show hidden directories" when switched on, will include, in the pop-up directory window, all the directories that also have the hidden file attribute set. A small tick mark will appear next to the option text, when this option is switched on. When this option is switched off, then no tick mark appears next to the option text and no hidden directories will be included in the pop-up directory window. See Drive Bar for more information.