Computer Hope
Microsoft => Microsoft DOS => Topic started by: DirecX on November 21, 2004, 04:53:39 PM
-
How would I go about opening a .pif in DOS ???
-
.pif files are not intended to be opened or used in DOS. They would serve no useful purpose. PIF means program information file, and is intended to pass information to windows about DOS programs how they should be run. To run a DOS program under DOS, navigate to its directory, type the name of its startup command, and press enter.
-
Is there a way to create a file that I could open in DOS that would act like a shortcut so that I do not have to navigate to the desired folder to open the exe?
-
The closest thing to a shortcut in DOS is to create a batch file and save it in the root directory. The batch file can change directories and launch the program for you by entering the batch files name at the DOS prompt.
-
Actually, that DOS batch file can be in any directory in PATH. It doesn't have to be in the root.
Type SET to see what your environment is in DOS, including PATH.