[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 4109 Date : 2003-03-23 Author : CBFalconer Subject : Re: copying folder(s) and retainning the original date Size(KB) : 1
meirman@e... wrote: > ... snip ... > > **** !!!! If one has 4DOS, the first line should read > > "Tree C: /B/T/H dir:" > > . Then every line is a directory entry. > > Dir: is the directory to use as the start of the tree, or it > uses one's "current directory". More than one directory can be > specified. A batch file which calls this can have sufficient > parameters to pass at least 10 directories, iirc. > > /B eliminates indentation and graphics and puts a fully > qualified directory name on each line. > /T includes the date and time on each line. > /H finds hidden directories. > > A simple version of this seems like it would not take much time. > Making it versatile and easy to use might triple the time. If you have 4dos, the following may be useful. The "for" line is one line until the "quit" c:>type x:\ftimes.btm @echo off if .%1%. == .. goto help echo Accessed Created Written Name echo ======== ============== ============== ==== for /a:-d %f in ("%1") do (echo %@filedate["%f",a] %@filedate["%f",c] %@filetime["%f",c] %@filedate["%f",w] %@filetime["%f",w] %@filename["%f"]) quit :help echo Usage: %0 filespec (where filespec may contain wildcards) echo Shows last times accessed, created, written -- Chuck F (cbfalconer@y...) (cbfalconer@w...) Available for consulting/temporary embedded and systems. USE worldnet address!
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.