External commands are actually executable files. You can use any UNIX or cmd.exe command. Moreover, FireCMD also provides some external commands. The external commands provided by FireCMD are actually some dialog boxes or GUI components which provides the GCLI (Graphical Command Line Interface) and can be extremely useful when combined with command substitution and redirection. These commands are as follows:
FireCMD command interpreter searches the directory paths in the path environment variable looking for a executable file that matches the command name. FireCMD identifies the files with extension ".exe", ".bat" and ".cmd" as executable files. If there are more than one executable files having the same name in a directory then the executable file having the highest extension precedence will be executed. The extension precedence table is shown below.
Precedence No. | Extension |
---|---|
1 | .exe |
2 | .bat |
3 | .cmd |
For example, if there are two files named "abc.exe" and "abc.bat" in the same directory then the program "abc.exe" will get executed as ".exe" has higher precedence than ".bat" extension.