Command Line

 


Use keywords to find the content you
are looking for with in the site.

Miscellaneous Options

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

WinOne® System Menu

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

Misc Tab

Program Run Options

When a tick mark appears next to the options text (as above), then the option is switched on, otherwise, the option is switched off. Simply position the mouse pointer over the option text and press the left mouse button to toggle the option either on or off. The tick mark will either be shown or removed, respectively.

Capture console input/output
Console programs refer to text mode type programs that use the Windows console Application Programming Interface (API). Most standard DOS commands have been convert to console programs in Windows NT onwards. For example FORMAT.COM under Windows NT is a console program.

This option, when switched on, allows console programs to use the main WinOne® window for their input and output, instead of creating their own windows.

Not all console programs can use the main WinOne® window for their input and output. See command CAPTURE for more information.

Inactive text mode windows on Exit
When a text mode type program is run in its own separate window, either the window will be left open or the window will be automatically closed when the program has finished executing.

This option, when switched on, will leave the window open. The windows title will be changed to include the word "Inactive", signaling that the program has completed executing and may be closed manually at any time.

To set this option from the command line see the DOS command.

Launch non-text mode programs only
Non-text mode programs refer to programs that use the Windows Graphical User Interface (GUI). These programs include NOTEPAD.EXE, WIN_ONE.EXE etc.

This option, when switched on, will only launch non-text mode programs and return the WinOne® prompt immediately, ready for the next command. When the option is switched off, WinOne® will wait for non-text mode programs to finish and exit before the WinOne® prompt is returned. A program can still be placed into the background manually by pressing the Ctl key and the Z key together (ie. Ctl Z). See Command Execution and Precedence for more information on placing a program into the background manually.

Separate VDM (16 bit programs)
This option, when switched on, will allow all 16 bit non-text mode programs to run in their own virtual environment. Programs run in this way will preemptively multitask. When this option is switched off, all 16 bit non-text mode programs will run in a single environment using a cooperative multitasking mechanism.

To individually run programs in a separate VDM see the START command.

This option is only available on Windows NT 3.5 or higher.

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 WinOne® 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 WinOne® 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 signaled 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 WinOne® 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 :- under Unix mode, will be incorrectly interpreted as :-
    ATTRIB /R *.*
In this case, simply add an extra minus sign character. WinOne® 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 WinOne® prompt :-
    PKUNZIP --T SOMEFILE.ZIP
Command line strings
There is no difference between strings specified under Unix mode or DOS mode.

Displaying DOS equivalent commands
The DOS command line equivalent of a Unix command line entered at the WinOne® prompt can be set to display after each command is entered. This is done as follows :-

    1. Enter at the WinOne® prompt :-

    where value is either 1 (ie. display DOS equivalent commands), or 0 (ie. do not display DOS equivalent commands)
    2. Exit and re-run WinOne®, so that the change can take effect.

Batch Programs
Batch programs 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 program. Batch programs 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.

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 WinOneŽ will check for new versions of WinOneŽ over the internet every time WinOneŽ is started. If a new version is found a short message is displayed. No check is performed if the computer running WinOneŽ is not connected to the internet.

The Check Now button will check for new versions of WinOneŽ over the internet immediately. When the computer running WinOneŽ 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.

Copyright © 1995-2018 Lucien Cinc, All Rights Reserved
WinOne® is an Australian registered trademark

Go to the Australian Command Line Software web site.