
Backing up forms, modules etc.
Quote:
> I have a project with multiple forms and modules.
> Is there a way I can back them up to a floppy from within VB, with out
> having to save each one individually to the floppy?
The most important thing is to be sure you are saving as
many files as possible as text, not in binary format.
I use the following batch file to backup a current project.
it saves a .zip file to a subdirectory backup, but could easily
be modifed to save to a floppy, etc.
backup file_name
backup.bat:
c:\util\pkzip backup\%1.zip *.bas *.fr* *.mak *.vbp *.bat *.ini
REM
c:\util\pkunzip -vbe backup\%1.zip > x.txt
more x.txt
dir backup\%1.zip
The last three lines just report what was done.
- Matt