Command Prompt for Windows

New Features in Version 6.2

  • The WinOne® Command Prompt is now compiled using Borland C++ for Windows version 4.5. Borland 4.5 consistently produces smaller and faster 32-bit executables.

  • New internal command START. Users are encouraged to use the ^Z feature included with the WinOne® Command Prompt instead of using the START command. When the WinOne® Command Prompt launches a program that creates its own window then switching back to the WinOne® Command Prompt and pressing ^Z (ie. Ctrl + Z keys), will return the command prompt immediately.

  • New internal command MORE. There is no need to pipe the output of any the WinOne® Command Prompt internal or external commands to MORE since the WinOne® Command Prompt automatically pages the output. However, this is not the case for text mode or console type programs where using the MORE command will pipe the output of such programs back to the main WinOne® Command Prompt window.

  • The internal DOS command can be used to set the behaviour of console windows. Either leaving a console window open and inactive or just closing the window after it has completed it's task. The default behaviour is to leave the window open and inactive.

  • Re-implemented the internal command SENDKEYS, which can be used to send a sequence of key strokes to any window.

  • The default multiple command separator is now the ampersand character (ie. '&'). See Multiple Commands for more information .

  • Support for command grouping using brackets and braces. Using braces instead of brackets is highly recommended since braces effectively localise the instantiation of environment variables. See Command Grouping for more information.

  • Improved the command CALC which now recognises many additional operators (eg. %, ~, ^, <, <=, <<, >, >=, >>, ==, !=, !, &, &&, |, ||) and types (eg. numbers and strings). The normal operator precedence is assumed unless the left and right brackets are used to over-ride the default precedence.

  • Improved the IF command which now supports the same types of expressions as used with command CALC. Also, a new IF ELSE syntax has been introduced :-

    IF [NOT] condition ( command(s) ) else command


    IF [NOT] condition { command(s) } else command