My goal: Use a batch file to Copy many folders and files from C:
to D
a CD-RW) for the end user. I know this is not a true PB
problem, but the program files are PB DOS Exe files in addition
to other data files..
All folders contain files. All files in SubFolders of Fold2
need to be copied to the CD-RW. Here is the C: folder structure:
C:\CASE (known)
C:\CASE\Fold1 (known)
C:\CASE\Fold1\Fold2 (known)
C:\CASE\Fold1\Fold2\xyzujkwe (unknown 8 char name)
C:\CASE\Fold1\Fold2\yete7623 (unknown 8 char name)
C: SubFolder Fold2 contains many files, I’ve already copied
the appropriate files to D:\CASE\Fold1\Fold2.
Other Files are not to be copied.
C: SubFolders of Fold2 exist. The number and name of the
C: SubFolders of Fold2 are unknown.
There is a least 1 C: SubFolder of Fold2.
Attempt #1-Almost works
Xcopy C:\CASE\Fold1\Fold2 /s/e/v D:\CASE\Fold1\Fold2
I get the C: SubFolders of Fold2 on the CD, however, there are
no files in the D: SubFolders of Fold2 on the CD
Attempt#2-Works, but seems clumsy to me.
Use Attempt#1 to establish the SubFolders on the CD.
A PB DOS program finds the C: SubFolders of Fold2 and
Copies the files to D:\CASE\Fold1\Fold2\xyzujkwe and
D:\CASE\Fold1\Fold2\yete7623.
Advice is welcome and appreciated.
I’ve gotten good advice in the past, so here I am again.
Jack
------------------
to D

problem, but the program files are PB DOS Exe files in addition
to other data files..
All folders contain files. All files in SubFolders of Fold2
need to be copied to the CD-RW. Here is the C: folder structure:
C:\CASE (known)
C:\CASE\Fold1 (known)
C:\CASE\Fold1\Fold2 (known)
C:\CASE\Fold1\Fold2\xyzujkwe (unknown 8 char name)
C:\CASE\Fold1\Fold2\yete7623 (unknown 8 char name)
C: SubFolder Fold2 contains many files, I’ve already copied
the appropriate files to D:\CASE\Fold1\Fold2.
Other Files are not to be copied.
C: SubFolders of Fold2 exist. The number and name of the
C: SubFolders of Fold2 are unknown.
There is a least 1 C: SubFolder of Fold2.
Attempt #1-Almost works
Xcopy C:\CASE\Fold1\Fold2 /s/e/v D:\CASE\Fold1\Fold2
I get the C: SubFolders of Fold2 on the CD, however, there are
no files in the D: SubFolders of Fold2 on the CD
Attempt#2-Works, but seems clumsy to me.
Use Attempt#1 to establish the SubFolders on the CD.
A PB DOS program finds the C: SubFolders of Fold2 and
Copies the files to D:\CASE\Fold1\Fold2\xyzujkwe and
D:\CASE\Fold1\Fold2\yete7623.
Advice is welcome and appreciated.
I’ve gotten good advice in the past, so here I am again.
Jack
------------------
Comment