Running Interix commands from cmd.exe

You can run Interix commands from the Win32 cmd.exe command prompt. You can either use commands that are in your PATH or type the entire path name to your command.

To get a Win32 command prompt, click Start, and then click Run. Type cmd and click OK. At the cmd.exe command prompt, you can type Interix commands. For example, to display the current working directory, type pwd.

If you type an Interix command that is not in the PATH, you must supply the complete path name. This path name is case sensitive. If you do not type the path name using the proper case, the Interix subsystem will not be able to start the program.

Every time you run an Interix command from Windows, the environment is modified appropriately for use by the Interix subsystem. Several new environment variables are created, and several environment variables are changed. For example, the directory names in PATH have been modified from Windows format to UNIX format. The directory names are also automatically converted to the correct case.