1.

Solve : Shortcuts within DOS?

Answer»

Hello. I am RUNNING FreeDOS on a 386. What I am trying to do is add certain programs to the PATH variable without adding each program's installed directory. My solution is to create shortcuts to all the programs in a certain directory and add it to the PATH. My problem is, I dont know how to make shortcuts. Are there shortcuts within DOS (NOT windows), or do I have to make BATCH files? If so, what would I write in them, and how can I make them so that they dont change the directory the prompt is at when the program is done running?This is pretty straighforward. SINCE it's not Windows, you will need to create a batch file for each program you want to run.

Example:

@echo off
cd\directoryofyourprogram
yourprogram.exe

Thats pretty much it for your batch files. Put your batch file(s) in a directory on your path or expand your path to include a new directory where your batch files reside.

Hope this HELPS.

Thank you!



Discussion

No Comment Found