Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP DOS Command

Status
Not open for further replies.

lashwarj

IS-IT--Management
Nov 1, 2000
1,067
US
I have a program that runs in dos, at present the colors are black and white, is there a way to through a COLOR F7 command in the line before the program starts. The issue is simple. Right now I have the main command line and then have a working directory, if i didnt have the working directory I could just write a batch program but I dont know how to include the working directory in the batch

Command line F:\Dos.bat
Working F:\dataDesired color Color f7
 
Have you tried creating a shortcut to run this program? Within the shortcut properties there are settings where you can specify your 'start in' (working) directory as well as some color options.
 
Yes, these are called PIF files.
Program Information Files
 
Yes I have a shortcut but there are no options for setting the color options on my 2000 machines, just my XP machines.
 
Sorry after looking this will not work with XP either.
 
In Windows XP, you can create a shortcut to a cmd prompt and set the colors, and working directory there under properties. You could also specify a batch file to run after the line that will launch the cmd prompt.
Also you can use the color command in the cmd prompt window.
I haven't tried this on Windows 2000.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top