this one calls another dos command exec
rem start re
ECHO start ec
start NewP0.cmd a-c
start NewP0.cmd d-h
start NewP0.cmd i-q
start NewP0.cmd r-z
start NewP0.cmd mor
=====part of the called 1
move d:\AcalU%1^\olden" "time" "series","" "vol*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\*olden" "time" "series","" "vol*.e* :\Zz%1^classNOV
move d:\AcalU%1^\rover" "boys*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\*rover" "boys*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\wells","" "h"."" "g*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\*wells","" "h"."" "g*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\william" "shakespeare*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\*william" "shakespeare*.e* d:\Zz%1^classNOV
move d:\AcalU%1^\writings" "of" "a" "mystic*.e* d:\Zz%1^religion
move d:\AcalU%1^\*writings" "of" "a" "mystic*.e* d:\Zz%1^religion
after all 40,000 moves the remaining ones are moved to the
author folders(a-c d-h etc)
most of the 40,000 are adjusts for books that went to wrong folders
with less specific moves
move d:\AcalU%1^\*security*.e* d:\Zz%1^shtf
move d:\AcalU%1^\security*.e* d:\Zz%1^shtf
IE: if i notice (maybe) a mystery novel that should have gone to the mystery folder i'd move it up front with the full dsn.
i wrote a SAS program that takes the file names (via a dos pipe command to a file)
and it puts the MANY quotes that are needed then i ADD some of those to the move programs.
i was not hiding any thing just trying to not confuse everyone.
how many people can read that mess?? (old retired IBM programmer)
so windows program(on big desk top(3 internal drives 1t 6t 6t) old SPF text editor and FREE sas for home use....
====
also do you think the dos examples you just gave me will be quicker than plain old delete the files?
|