• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help using a LONG command in DOS!

LeStEr

Diamond Member
I need to use a long command in dos but after i type a portion of the command out i can type anymore. People have told me i can make a "Batch" file using my long command and then run this "Batch" file.
How would i go about doing this?? Or is there annother way i could use this long command in dos.
Thnx
 
Just create a new text file in windows and type the command into the text file. If this only one command then this will work fine. Rename the text file to say test.bat, batch files are just renamed text files, and run the file in a dos box. In my example just type test and press return, making sure you are in the directory that you created the batch file in the first place.

Hope it helps..
 
(this one may sound silly, but hey 🙂 )

If you don't have Windows and are purely on DOS you can type:

> Copy Con test.bat

It will then give you a carriage return (blank line after this) where you can start typing your dos commands one line after the other.

To save your file just hit F6 and Enter.
 
and what it's doing is using the device con, which is the console to copy to a file.

add @echo off to keep the whole file from being echoed to the screen..........

if it isn't obvious already.....
 
nice follow up michael! 🙂

Moonbender: yep, nifty huh? even with Win on all my machines now i still kinda like doing DOS 🙂
 
Back
Top