Re: DOS Sort files


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

Posted by SpywareDr on August 16, 2009 at 09:54:01:

In Reply to: DOS Sort files posted by Sandi on August 11, 2009 at 21:10:38:

: How does one sort the file order in making a
: disk? I need to place files in a particular
: order in making a "Crises" disk to re-flash the
: bios.

##

If you don't have many files, one way to do it would be with a single command-line command such as:

for %x in (banana.sys apple.com orange.exe) do copy c:\wherever\%x a:\

("banana.sys" would end up being the first file in the root directory of the disk in drive A:, "apple.com" the second file, etc.).


You could also create a simple batch file to copy the files, in the correct order, onto the disk. For example:

copy c:\wherever\banana.sys a:\
copy c:\wherever\apple.com a:\
copy c:\wherever\orange.exe a:\




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 ]