Ask Experts Questions for FREE Help !
    OLDCODGER88's Avatar
    OLDCODGER88 Posts: 2, Reputation: 1
    New Member

    Jan 22, 2007, 09:26 PM
    Batch File In Dos
    How do I make a batch file in dos that will open a program.
    I need to name the file S
    The file is acct\prog\solomon\solomon
    I have this in one PC but forgot how it create the command.
    colbtech's Avatar
    colbtech Posts: 744, Reputation: 65
    Senior Member

    Jan 23, 2007, 03:52 AM
    Open a DOS window.
    At the command prompt, type "Copy Con: S.bat [Return]"
    Presuming the file you wish to run is on C:
    Type "C:\acct\prog\solomon\solomon.exe"
    Press [CTRL Z] together, then press [Return]

    You now have a file titled S.bat (in my case it is on the Desktop), but surely it is easier just to create a shortcut to the .exe and put that on the desktop??

    If you want to use an editor rather than type direct from the keyboard. Type Edit filename then press [Return]
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man

    Jan 23, 2007, 07:25 AM
    You can also use Notepad or any of a load of text editors to do this. Just save the file as a plain text file with a .BAT extension.

Not your question? Ask your question View similar questions


Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.

Check out some similar questions!

Dos... [ 2 Answers ]

:) I want to ask how can't I read a text file in DOS...

Hi please help me (in dos) [ 2 Answers ]

First q. I want to know I can create password in dos not in bioss Second there are dos password in my PC in dos not in bioss how can I delet it

Help w/ dos [ 3 Answers ]

I want to coppy all of the files from my win95 dos floppy to the hard drive, but I don't know how. When I boot, I get the C:\> command promp but there is only 1 file on this drive. There was a similar posting to this, but I did not understand it. All help would be greatly appreciated. Thnakx ...

If I file 1040NR, do I file state as nonresident? [ 1 Answers ]

The title says it all-I worked in several states but I am foreigner. Does that mean that I file state taxes as non-resident as well?

View more questions Search