O.P. Possible with a batch file?
Would this be possible to do with a batch file? or not?
What I would like to do is, say I had the folders: C:/folder1/folder2/ and inside folder 2 were many files, say "file1.ext, file2.ext2, file3.ext3" for now. Would it be possible for a batch file to list each file, and the path before it from folder2/ so the batch file would create a txt similar to:
folder2/file1.ext
folder2/file2.ext2
folder2/file3.ext3
Could then, the same batch file, or another, copy that lines from that .txt into the bottom of another .txt in another folder such as C:/stuff/list/default.lst (well, .lst, but same priniciple)
Could it then copy all those files that were listed and paste them recursively in another folder like C:/inetpub/wwwroot/folder1/folder2, but also, bzip2 those files in the inetpup folder??
Is that possible using a batch file? or not worth the effort?
|