Computer Hope

Microsoft => Microsoft DOS => Topic started by: DirecX on November 21, 2004, 04:53:39 PM

Title: .PIF HELP
Post by: DirecX on November 21, 2004, 04:53:39 PM
How would I go about opening a .pif in DOS ???
Title: Re: .PIF HELP
Post by: 2k dummy on November 21, 2004, 06:18:28 PM
.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.
Title: Re: .PIF HELP
Post by: DirecX on November 22, 2004, 08:44:35 AM
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?
Title: Re: .PIF HELP
Post by: 2k dummy on November 22, 2004, 11:41:10 AM
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.
Title: Re: .PIF HELP
Post by: MalikTous on November 23, 2004, 11:32:52 AM
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.