I am working on a backup program to copy all files on a hard drive to the network. Here is the way it works now:

1) Generating a list of all the files on the hard drive using a batch file that pipes a DIR command to a text file.
2) Compare that file to another file that has a list of the files that do not need to be copied ( fresh install )
3) The user would go through the list, add and remove any neccesery on unneccesery files.
4) The program would generate a batch file to copy all the local files that the user selected to a network drive, creating folders as neccessery.

I'm trying to eliminate the use of the batch files. I can do the copying part in VB, but I'm not sure how to get a list of local files. All what the first batch file does is a
DIR C:\*.* /S/B/A-D > C:\LCLFIL.TXT

The output of this file looks something like this:

c:\SMS.NEW
c:\SMSSETUP.LOG
c:\WFCNAME.INI
c:\Acrobat3\Reader\ACROBAT.PDF
c:\Acrobat3\Reader\ACROFX32.DLL


So I need a way to do the same thing in VB and output it in the same format.

Any help would be appreciated.

Thanks

------------------
Joe Handal
Workstation Engineer
[email protected]


[This message has been edited by JoeH (edited 01-14-2000).]