tim@j.cc.purdue.edu (Timothy Lange) (09/18/87)
Using the backup/restore method is not preferred for moving large blocks of files from one machine to another. Because, unless you have the same brand and version of the operating system, you will run into incompatibilities. Some backups create a file on the floppy for every file on the hard disk, some will only create one file on the floppy for all files, this saves space. The way floppies are numbered will vary too, if one version uses decimal notation and the other uses hex, you will have problems after disk 9. If the only problem you are running into is the disk numbering, that can be fixed with minor work with DEBUG. "IBM Exchange" a magazine published by IBM to be given away free at user groups talked about the header file on backup disks and what information was contained therein. I have seen the info in other "Inside your IBM" type books. If you cannot locate this info, send me mail and I will dig out my copies and send the relevant stuff. Nestled batch files can be done in this way: Batch file "batch1.bat" contains the following- for %%d in (%1 %2 %3 %4 %5 %6 %7 %8 %9) do command /c batch2 %%d Batch file "batch2.bat" contains the following- echo y | del %1 rd %1 So, "batch1" given a list of directory names will call "batch2" in turn for each directory and delete all the files in that directory and then try to remove the directory. The "/c" option to command is documented. Remember, in a batch file you will need the double percent signs ONLY in front of the "d" parameter, you want the positionals to be substituted with what you typed in on the command line. Tim. -- Timothy Lange / PC Learning Resource Center / Mathmatical Sciences Bldg. Purdue University Computing Center / West Lafayette, IN 47907 317-494-1787 / tim@j.cc.purdue.edu