# Command Search Path > [HTML Version](commandsearchpath.htm) When you type anything onto the A-Shell command line, such as "xxxxx," A-Shell searches (a) for "xxxxx" with various extensions, and (b) in various locations. Following is the location and filename extension for which A-Shell searches, and the order in which it does so. | **Search Target** | **Results and Comments** | |------|------| | xxxxx.ext | Applies only if an explicit extension included on the command line | | sysdev:xxxxx.LIT\[1,4\] | Special mounted system directory defined by -mntsys switch (if applicable) | | DSK0:xxxxx.LIT\[1,4\] | LIT command in the standard system directory (aka SYS:) | | xxxxx.LIT\[p,pn\] | LIT command in current directory \[p,pn\] | | xxxxx.LIT\[p,0\] | LIT command in library directory associated with current directory | | sysdev:xxxxx.CMD\[2,2\] | Special mounted command directory defined by -mntsys switch (if applicable) | | DSK0:xxxxx.CMD\[2,2\] | CMD file in standard command file location (aka CMD:) | | xxxxx.CMD\[p,pn\] | CMD file in current directory | | xxxxx.CMD\[p,0\] | CMD file in library directory associated with current cirectory | | sysdev:xxxxx.DO\[2,2\] | Special mounted command directory defined by -mntsys switch (if applicable) | | DSK0:xxxxx.DO\[2,2\] | DO file in standard command file location (aka CMD:) | | xxxxx.DO\[p,pn\] | DO file in current directory | | xxxxx.DO\[p,0\] | DO file in library directory associated with current directory |