how do i save stuff in dos?

crazychicken

Platinum Member
Jan 20, 2001
2,081
0
0
what are you doing in dos that you need to save?
i don't think dos itself can do that, whatever program you are running to do stuff you need to save , you need to learn to save w/ that prog.
 

jfall

Diamond Member
Oct 31, 2000
5,975
2
0
I'm not sure what you mean by `save stuff in dos`... the only things that I can think of is if you want to create a .txt/.bat file and save it, or if you want to save files that are already on your hard drive to a disk or something.

Text = type EDIT <filename.xxx> and press enter, type your text, press alt + f then press S, this will save the text file under the filename you have chosen.

If you want to save a file to a disk, go to the directory where the file is located and type copy filename.xxx a:\

if it is a whole directory then copy *.* a: etc...

If this isn't what your looking for, tell us some more details on what your trying to do
 

pjs

Senior member
Oct 10, 1999
649
0
0
Do you mean, while in a dos window or in dos mode?

copy progname.exe newname.ext

this will take place entirely withing the subdirectory you are in.

copy progname.exe c:\newdir\newname.exe

copies to a new subdir

To SAVE, a file, you need to be in a dos aplication such as the dos editor
(type edit at the dos prompt). Save is one of the options available to perform on an open file within the dos program edit.

Also, within the dos prompt/window, type &quot;help&quot; and a list of commands that help is available for will be displayed. Typing &quot;help copy&quot; will give you info on the copy command.

Paul
 

BruinGuy

Senior member
Apr 20, 2001
432
0
0
Or do you merely want to redirect output to a file, ie, if you wanted to save a directory listing to a file you could type &quot;dir > file.txt&quot; which would redirect any text that would have go onto the screen into a file.