Skip to content
TheChatArchiveThe Chat Archive
gpt-4-1106-preview· OpenAIAi2 WildChat-4.8M (AI2)

Give me all commands in cmd.

  1. User

    Give me all commands in cmd.

  2. Assistant

    Providing a complete list of every command available in the Windows Command Prompt (cmd.exe) would be quite lengthy, as there are many built-in commands, each with its own set of options and parameters. Moreover, the available commands can vary based on the version of Windows you are using. Below is a list of common commands that are generally available in most versions of Windows:

    1. ASSOC - Displays or modifies file extension associations.
    2. ATTRIB - Displays or changes file attributes.
    3. BREAK - Sets or clears extended CTRL+C checking on DOS systems.
    4. BCDEDIT - Sets properties in boot database to control boot loading.
    5. CACLS - Displays or modifies access control lists of files.
    6. CD or CHDIR - Changes the current directory.
    7. CHKDSK - Checks a disk and displays a status report.
    8. CHKNTFS - Displays or modifies the checking of the disk on boot.
    9. CLS - Clears the command prompt screen.
    10. CMD - Starts a new instance of the command prompt.
    11. COLOR - Sets the default console foreground and background colors.
    12. COMP - Compares the contents of two files or sets of files.
    13. COMPACT - Displays or alters the compression of files on NTFS partitions.
    14. CONVERT - Converts FAT volumes to NTFS.
    15. COPY - Copies one or more files to another location.
    16. DATE - Sets or displays the date.
    17. DEL or ERASE - Deletes one or more files.
    18. DIR - Displays a list of files and subdirectories in a directory.
    19. DISKPART - Displays or configures disk partition properties.
    20. DOSKEY - Edits command lines, recalls Windows commands, and creates macros.
    21. DRIVERQUERY - Displays current device driver status and properties.
    22. ECHO - Displays messages or turns off/on command echoing.
    23. ENDLOCAL - Ends localization of environment changes in a batch file.
    24. EXIT - Quits the cmd.exe program (command prompt).
    25. FC - Compares two files or sets of files and displays the differences.
    26. FIND - Searches for a text string in a file or files.
    27. FINDSTR - Searches for strings in files.
    28. FOR - Runs a specified command for each item in a set.
    29. FORMAT - Formats a disk for use with Windows.
    30. FSUTIL - Displays or configures the file system properties.
    31. FTYPE - Displays or modifies file types used in file extension associations.
    32. GOTO - Directs the command prompt to a lined label in a batch program.
    33. GPUPDATE - Updates group policy settings.
    34. HELP - Provides help information for Windows commands.
    35. ICACLS - Display, modify, backup, or restore ACLs for files and directories.
    36. IF - Performs conditional processing in batch programs.
    37. LABEL - Creates, changes, or deletes the volume label of a disk.
    38. MD or MKDIR - Creates a directory.
    39. MODE - Configures system devices.
    40. MORE - Displays output one screen at a time.
    41. MOVE - Moves one or more files from one directory to another directory.
    42. OPENFILES - Displays files opened by remote users for a file share.
    43. PATH - Displays or sets a search path for executable files.
    44. PAUSE - Suspends processing of a batch file and displays a message.
    45. POPD - Restores the previous value of the current directory saved by PUSHD.
    46. PRINT - Prints a text file.
    47. PROMPT - Changes the command prompt.
    48. PUSHD - Saves the current directory then changes it.
    49. RD or RMDIR - Removes a directory.
    50. RECOVER - Recovers readable information from a bad or defective disk.
    51. REM - Records comments (remarks) in batch files.
    52. REN or RENAME - Renames a file or files.
    53. REPLACE - Replaces files.
    54. RMDIR - Removes a directory.
    55. ROBOCOPY - Advanced utility to copy files and directory trees.
    56. SET - Sets or displays environment variables.
    57. SETLOCAL - Begins localization of environment changes in a batch file.
    58. SC - Service Control - manages services.
    59. SCHTASKS - Schedules commands and programs to run on a computer.
    60. SHUTDOWN - Allows proper local or remote shutdown of machine.
    61. SORT - Sorts input.
    62. START - Starts a separate window to run a specified program or command.
    63. SUBST - Associates a path with a drive letter.
    64. SYSTEMINFO - Displays machine specific properties and configuration.
    65. TASKLIST - Displays all currently running tasks including services.
    66. TASKKILL - Kill or stop a running process or application.
    67. TIME - Sets or displays the system time.
    68. TITLE - Sets the window title for the command prompt window.
    69. TREE - Graphically displays the directory structure of a drive or path.
    70. TYPE - Displays the contents of a text file.
    71. VER - Displays the Windows version.
    72. VERIFY - Tells Windows to verify that your files are correctly written to a disk.
    73. VOL - Displays a disk volume label and serial number.
    74. XCOPY - Copies files and directory trees.
    75. WMIC - Displays WMI information inside interactive command shell.

    This is not an exhaustive list, and there are more commands and utilities that can be used within cmd.exe. Additionally, numerous third-party commands and scripts can further extend cmd's functionality.

    To get help with any specific command, you can type the command followed by "/?" or " /help" to display detailed information and usage examples for that command. For example:

    dir /?
    

    This will show you the usage and available options for the dir command.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.