home *** CD-ROM | disk | FTP | other *** search
/ The WinSite Windows Explosion! 1996 Summer / WINSITE_2.iso / demo / bkpfly.exe / SAMPLE.BAT < prev    next >
Encoding:
DOS Batch File  |  1996-04-23  |  1.7 KB  |  47 lines

  1. ECHO OFF
  2. cls
  3. set TEMP=c:\TEMP
  4. share /L:500 /F:5100
  5. rem
  6. rem     It is assumed Windows is installed in H:\windows. If, for instance,
  7. rem     your 'Windows' is installed on Drive 'D' change the 'H:' below to 
  8. rem     'd:'. 
  9. H:
  10. cd\
  11. rem     Change the next statement, if you have named your 'windows' directory
  12. rem     something else. Otherwise. leave the next statement alone.
  13. rem
  14. cd \windows
  15. if exist *.swp del *.swp
  16. WIN 
  17. rem
  18. rem     This is where you exit from Windows session. Now you switch to the 
  19. rem     directory where the BACKUPS-ON-THE-FLY program is located. Notice 
  20. rem     above, the instructions needed to change to the Windows directory.
  21. rem
  22. echo    ....Locating files you just modified, updated or deleted. 
  23. echo    ....Please Wait...
  24. c:
  25. cd\
  26. cd \zipperd
  27. rem
  28. rem    Now run 'Bkup' with the Xlist, the list of Directories which contains 
  29. rem    data that gets modified. You have to prepare this Xlist in advance, 
  30. rem    using the command Preplist e.g. 'Preplist xlist C:\word!S:\all!D:\excel' 
  31. rem    Read the 'Readme.1st file for details. You can of course use any name
  32. rem     you want instead of Xlist.
  33. rem
  34. rem    The following command will 'Backup' each Directory Path given in the 
  35. rem    Listname file, ^Xlist, Or, whatever name you chose, and create the 
  36. rem    Backups on the Backup Drive, E:. Be sure to substitute your listname 
  37. rem    for xlist in the next command. Do not include '^' character from the 
  38. rem    file name. 
  39. rem
  40. rem     Now, every time you exit your Windows session all the files (and only
  41. rem     those files) that you just modified, will be updated in the 
  42. rem     appropriate backup! Not even a mouseclick or a keystroke!!!
  43. rem    
  44. rem
  45. bkup xlist E:
  46.  
  47.