Skip to content

Commit 09c861f

Browse files
committed
Update forwarded cmd.exe commands docs
Replaces nushell#1605 (which documented behavior across versions). The "if no executable by that name exists" has been wrong since 0.94.0 (not disclosed in release notes, but consequence of 6c649809d38a687cd63b59ab028b7f30207e5663). The "used to" (prior version 0.67 2022-08-16) is very old, and no longer worth it to keep. Add information about forwarded commands overshadowing external files.
1 parent b551f96 commit 09c861f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

book/coming_from_cmd.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,12 @@ This table was last updated for Nu 0.67.0.
6161

6262
## Forwarded CMD.EXE commands
6363

64-
Nu accepts and runs *some* of CMD.EXE's internal commands through `cmd.exe`.
64+
Nu accepts and runs *some* CMD.EXE commands through `cmd.exe`.
6565

66-
The internal commands are: `ASSOC`, `CLS`, `ECHO`, `FTYPE`, `MKLINK`, `PAUSE`, `START`, `VER`, `VOL`
66+
The forwarded commands are: `ASSOC`, `CLS`, `ECHO`, `FTYPE`, `MKLINK`, `PAUSE`, `START`, `VER`, `VOL`
6767

68-
These internal commands take precedence over external commands.
68+
These forwarded commands take precedence over external commands.
6969

70-
For example, with a `ver.bat` file in the current working directory, executing `^ver` executes CMD.EXE's internal `VER` command, *NOT* the `ver.bat` file.
70+
For example, with a `ver.bat` file in the current working directory, executing `^ver` leads to the CMD.EXE `VER` being executed, *NOT* the `ver.bat` file.
7171

7272
Executing `./ver` or `ver.bat` *will* execute the local bat file though.
73-
74-
Note that Nushell has its own [`start` command](/commands/docs/start.md) which takes precedence.
75-
You can call the CMD.EXE's internal `START` command with the external command syntax `^start`.

0 commit comments

Comments
 (0)