Command Prompt for Windows




Alphabetical Commands

The WinOne® Command Prompt includes the following commands (listed in alphabetical order) :-

A

  • ABOUT
  • Displays the About window.
  • ACS
  • Display the ANSI Character Set.
  • ARCH
  • Displays files inside most popular archive formats.
  • ARGS
  • Displays the values returned by all the arg...() functions.
  • ASK
  • Ask a yes/no question and set the errorlevel respectively.
  • ATTRIB
  • Displays or changes file attributes.

    B

  • BEEP
  • Send a beep to the system speaker.
  • BOX
  • Display a box in one of four pre-defined formats.

    C

  • CALC
  • Perform basic arithmetic calculations in a batch file.
  • CALL
  • Run a second batch file, then return to the first batch file.
  • CALLPROC
  • Call a procedure with in a Batch file.
  • CAPTURE
  • Turn capture for console programs on/off. Manipulate the No Capture list.
  • CBADD
  • Add a string or get number of strings from the list box of a combo box.
  • CBDELETE
  • Delete a string from the list box of a combo box or clear the combo box.
  • CBDIR
  • Add a list of file names to the list box of a combo box.
  • CBFIND
  • Search the list box of a combo box for a string.
  • CBGET
  • Get the index of the currently selected string in the list box of a combo box.
  • CBINSERT
  • Insert a string into the list box of a combo box.
  • CBSET
  • Set the current selection for the list box of a combo box.
  • CBTEXT
  • Get a string from the list box of a combo box.
  • CD
  • Displays the name of or changes the current directory.
  • CHDIR
  • Displays the name of or changes the current directory.
  • CDD
  • Changes the current directory and disk.
  • CHARNEXT
  • Determine the number of code-points in the first character of a string.
  • CHARPREV
  • Determine the number of code-points in the last character of a string.
  • CHCP
  • Display or set the current active code page for ANSI text.
  • CHECK
  • Set the state of a check box.
  • CLIP
  • Place a line of text into the clipboard.
  • CLIPDISP
  • Display any text in the clipboard.
  • CLS
  • Clears the screen.
  • COG
  • Get a value from a COM object property.
  • COLOUR
  • Change foreground and background screen colours.
  • COM
  • Call a COM object method.
  • COMMA
  • Insert commas into a number.
  • COP
  • Put a value into a COM object property.
  • COPY
  • Copies one or more files to another location.

    D

  • DATA
  • Clear or add items to a global list
  • DATE
  • Displays or sets the date.
  • DATE2SER
  • Convert a date to a serial date value.
  • DDEEXEC
  • Send an execute command to an application.
  • DDEPOKE
  • Send data to an application.
  • DDEREQ
  • Request data from an application.
  • DEBUG
  • Allows a debugger to run an external command.
  • DELBUT
  • Deletes all files except the files specified.
  • DEL (ERASE)
  • Deletes one or more files.
  • DESCRIBE
  • Add, modify or delete a file or directory description of up to 128 characters.
  • DEVICES
  • List all the devices available on a system.
  • DIFF
  • Display line-by-line differences between pairs of text files.
  • DIR
  • Displays a sorted list of files and sub-directories in a directory.
  • DIRS
  • Display the directory stack.
  • DISPBOX
  • Display the contents of a plain text file in a pop-up window.
  • DISK
  • Display bytes used for all sub-directories, of the specified directory.
  • DISKFREE
  • Determine the amount of free disk space for a disk drive.
  • DISKUSED
  • Determine the amount of used disk space for a disk drive.
  • DLGBOX
  • Create a dialog box.
  • DLGEND
  • End a dialog box.
  • DLGENDALL
  • End all dialog boxes.
  • DLGITEM
  • Add an item to a dialog box.
  • DLGMENU
  • Add an item to a dialog boxes menu bar.
  • DLGSHOW
  • Display a dialog box
  • DO
  • Conditionally perform a command one or more times.
  • DOS
  • Shell to DOS or change the behaviour of all text mode windows.
  • DOS2UNIX
  • Convert DOS text files to Unix text files.
  • DRAG
  • Drag one or more files to another program.
  • DUMP
  • Displays the contents of any file.
  • DUPLICAT
  • Locate all duplicate files on the specified drive(s).

    E

  • ECHO
  • Display a message or turns echo on or off.
  • EDITBOX
  • Display a pop-up window containing an edit field.
  • EJECT
  • Eject a CD-ROM.
  • ENABLE
  • Enable or disable an item in a dialog box.
  • END
  • End a batch file.
  • ENDLOCAL
  • End the localisation of environment variables.
  • ENDPROC
  • End a procedure.
  • ENUMREG
  • Enumerate all the keys in the System Registry for the specified hkey.
  • ERASE
  • Deletes one or more files.
  • EXIT
  • Exit the WinOne® Command Prompt or Windows.
  • EXT
  • Set filename associations for file extensions.
  • EXTENSION
  • Set filename associations for file extensions.

    F

  • FILEDATE
  • Get the last modified date of a file.
  • FILESIZE
  • Get the size in bytes of a file.
  • FILETIME
  • Get the last modified time of a file.
  • FILETYPE
  • Determine whether a file contains text or binary data.
  • FIND
  • Search for a text string in the specified files.
  • FINDREG
  • Search the System Registry for a string.
  • FOR
  • Perform a command a number of times or for each file in a set.
  • FUNC
  • Call a Win32 API function at run time.

    G

  • GETFOCUS
  • Retrieve the identifier of the dialog item that has the keyboard input focus.
  • GETHTTP
  • Download a file from the internet.
  • GETINI
  • Get an initialisation file key value or enumerate all the key names.
  • GETKEY
  • Wait for a single keypress from the user.
  • GETNUM
  • Wait for a sequence of keypresses from the user.
  • GETREG
  • Get a System Registry value or enumerate all the names for a hkey.
  • GETSTR
  • Wait for a sequence of keypresses from the user.
  • GETTEXT
  • Retrieve the caption of a dialog box or the text of a dialog box item.
  • GO
  • Changes the current directory to another sub-directory.
  • GOSUB
  • Jump to another part of a batch file and then return.
  • GOTHIC
  • Display small horizontal Gothic style characters.
  • GOTO
  • Jump to another part of the batch file.
  • GREP
  • Display lines matching a pattern.
  • GREY
  • Grey or ungrey a menu item in a dialog box.
  • GROUP
  • Insert program files into Program Manager groups.

    H

  • HELP
  • Display help information for a the WinOne® Command Prompt command.
  • HIS
  • Displays the history buffer.
  • HISTORY
  • Displays the history buffer.

    I

  • IF
  • Perform conditional processing in a batch file.
  • ISCHECKED
  • Determine the state of a check box or a radio button.
  • ISENABLED
  • Determine whether an item is enabled or disabled.
  • ISGREYED
  • Determine whether or not a menu item is greyed.
  • ISTICKED
  • Determine whether or not a menu item is ticked.

    J

  • JUNCTION
  • Create a symbolic link via a reparse point.

    K

    No entries

    L

  • LABEL
  • Creates, changes, or deletes the volume label of a disk.
  • LBADD
  • Add a string or return the number of strings contained in a list box.
  • LBDELETE
  • Delete a string from a list box or clear the contents of a list box.
  • LBDIR
  • Add a list of file names to a list box.
  • LBFIND
  • Search a list box for a string.
  • LBGET
  • Get the index of the currently selected string in a list box.
  • LBINSERT
  • Insert a string into a list box.
  • LBSET
  • Set the current selection for a list box.
  • LBTEXT
  • Get a string from a list box.
  • LET
  • Evaluate an expression and set an environment variable with the result.
  • LOCATE
  • Position the cursor anywhere on the screen.
  • LOGO
  • Change the Windows startup logo.
  • LOWER
  • Convert a text string to lower case.

    M

  • MACRO
  • Provides command line macros.
  • MD5
  • Display the MD5 hashing value for one or more files.
  • MEM
  • Display free memory that is available in the system heap.
  • MERGE
  • Merge two files together.
  • MD
  • Creates a directory.
  • MKDIR
  • Creates a directory.
  • MORE
  • Page the output of a command.
  • MOVE
  • Moves one or more files to another location.
  • MSGBOX
  • Display a message in a pop-up window.

    N

    No entries

    O

  • OPENBOX
  • Display a file and directory selection pop-up window.

    P

  • PAGE
  • Turn automatic paging of output on or off.
  • PARSE
  • Allows a sentence to be broken into pieces.
  • PATH
  • Displays or sets the search path environment variable for executable files.
  • PAUSE
  • Suspend processing of a batch file and display a message.
  • PLAY
  • Play a wave sound file.
  • POPD
  • Pop a directory from the stack and make it the current directory.
  • POSTMSG
  • Post a message to a window.
  • PRINT
  • Print a text file via the Printer Manager.
  • PROC
  • Start a procedure.
  • PROMPT
  • Changes the command prompt.
  • PUSHD
  • Push the current directory onto the stack and change to a new directory.

    Q

    No entries

    R

  • RADIO
  • Set the state of a group of radio buttons.
  • RD
  • Removes (deletes) a directory.
  • READ
  • Read the next item from the global list.
  • READLN
  • Read a line of text from a file.
  • REM
  • Allows comments inside a batch file.
  • REN
  • Renames a file or files.
  • RENAME
  • Renames a file or files.
  • REPLACE
  • Search and replace a text string in the specified files.
  • RETURN
  • Return execution to the next command following the GOSUB command.
  • RMDIR
  • Removes (deletes) a directory.

    S

  • SAVEBOX
  • Display a file and directory selection pop-up window.
  • SAY
  • Display a message with out a carriage return - line feed.
  • SBANNER
  • Display small horizontal characters.
  • SCOPY
  • Safely copies one or more files to another location.
  • SEED
  • Randomise the random number generator.
  • SENDKEYS
  • Send a number of key strokes to the specified window.
  • SENDMAIL
  • Send a text email.
  • SER2DATE
  • Convert a serial date value to a date.
  • SET
  • Display, set or remove environment variables.
  • SETFOCUS
  • Set the keyboard input focus to the specified dialog box or item.
  • SETINI
  • Set or delete an initialisation file key value.
  • SETLOCAL
  • Set the localisation of environment variables.
  • SETREG
  • Set or delete a System Registry value.
  • SETTEXT
  • Set the caption of a dialog box or the text for a dialog box item.
  • SHELL
  • Set the Windows default start up shell or program list.
  • SHIFT
  • Change the position of replaceable parameters in a batch file.
  • SLEEP
  • Do nothing for a time.
  • SMOVE
  • Safely moves one or more files to another location.
  • SPLIT
  • Split a file into two files.
  • START
  • Start a program and return the command prompt immediately.
  • STOP
  • Stop processing a batch file and return to previous batch file.
  • STRFIND
  • Find the first occurrence of a string within the specified text.
  • STRFOLD
  • Normalize or fold a Unicode string as specified.
  • STRPAD
  • Pad a text string with space characters.
  • STRREP
  • Replace all occurrences of a string within text with another string.
  • STRREV
  • Reverse all the characters in a text string.
  • STRRFIND
  • Find the last occurrence of a string within the specified text.
  • STRSIZE
  • Determine the length of a string.
  • STRSPLIT
  • Split a string at the specified position.
  • STRTRIM
  • Remove leading and trailing space characters from a text string.
  • SUBSTR
  • Extract a section of text from a text string.

    T

  • TAIL
  • Display the last few lines of a text file.
  • TASKS
  • Display a list of the current tasks or performs a specified action on a task.
  • TICK
  • Tick or untick a menu item in a dialog box.
  • TIME
  • Displays or sets the system time.
  • TIPS
  • Turn the displaying of a tip when the WinOne® Command Prompt starts on or off.
  • TOUCH
  • Touch the date and time for a file(s).
  • TRACE
  • Provide debugging support for batch files.
  • TREE
  • Graphically displays the directory structure.
  • TYPE
  • Displays the contents of a text file.

    U

  • UNCOMP
  • Uncompress a UNIX compressed file (ie. .Z file).
  • UUENCODE
  • Convert a binary file to a text file.
  • UNIX2DOS
  • Convert Unix text files to DOS text files.
  • UNTAR
  • Untar a UNIX tape archive (ie. .TAR file).
  • UNTIL
  • Conditionally perform a command zero or more times.
  • UNZIP
  • Extract files contained in a .ZIP archive.
  • UPPER
  • Convert a text string to upper case.
  • UUDECODE
  • Convert a uuencode text file back to a binary file.

    V

  • VER
  • Display the version numbers for Windows and the WinOne® Command Prompt.
  • VIEWICON
  • Displays icons in .EXE, .DLL and .ICO files.
  • VOL
  • Display the disk volume label.
  • VOLUME
  • Set or get the volume level for an audio device.

    W

  • WALLPAPER
  • Set or remove the Desktop Wallpaper.
  • WHERE
  • Locates one or more files.
  • WHICH
  • Displays the full path of a program.
  • WHILE
  • Conditionally perform a command zero or more times.

    X

  • XSET
  • Display, set or remove persistent environment variables.

    Z

    No entries