Re: Direct a DOS command to a file where?


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by LL on April 14, 2009 at 11:29:23:

In Reply to: Re: Direct a DOS command to a file where? posted by SpywareDr on April 13, 2009 at 19:30:57:

: : I want to direct the output of a DIR command to a
: : file (dir > dirlist1). Either it didn't work or I
: : don't know where it put the file. Does it create
: : a new file? If so, where does it put it?

: Yes, that command creates a new file named "dirlist1" in your current directory.

Oh, it creates the file in the directory I was in when I entered the dir command. I get it now.

Thanks.

But what if the file already exists? Does it wipe out the original file?


Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]