home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35466 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.8 KB

  1. Path: sparky!uunet!ukma!darwin.sura.net!jvnc.net!netnews.upenn.edu!pender.ee.upenn.edu!spielman
  2. From: spielman@pender.ee.upenn.edu (Terence P. Spielman)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: HELP NEEDED WITH BACKING UP DESKTOP
  5. Message-ID: <96320@netnews.upenn.edu>
  6. Date: 5 Nov 92 18:54:36 GMT
  7. Sender: news@netnews.upenn.edu
  8. Reply-To: spielman@pender.ee.upenn.edu (Terence P. Spielman)
  9. Organization: University of Pennsylvania
  10. Lines: 33
  11. Nntp-Posting-Host: pender.ee.upenn.edu
  12.  
  13. I want to do the following:
  14.  
  15. 1)Copy my desktop directory and os2.ini and os2sys.ini to a backup
  16. directory everytime I boot-up OS2.
  17. 2)Copy desktop, os2.ini and os2sys.ini when I exit (shut-down) to a different
  18. backup directory.
  19.  
  20. I want to do the above so that if I trash my desktop, I can restore it.
  21. I want both backups for more robust recovery.
  22.  
  23. I figured all it would take is a batch file (.cmd right?).  I would put one
  24. batch file to be called by autoexec.bat (does OS2 run an autoexec?  IF not,
  25. where can I put it to be run automatically?) and another batch file using 
  26. "onexit", a utility copied from hobbes which supposedly runs a .exe or .cmd
  27. on shutting down.
  28.  
  29. I thought that I could use xcopy /s (/v /e /o etc.) to copy the destop dir and
  30. copy to copy the 2 .ini files.  However, for some reason, only the Template
  31. dir is copied?  Why?
  32. Perhaps the more serious problem is that OS2 won't let me copy the .ini files
  33. because they are in use by the system.  How do I get around this?
  34.  
  35. Lastly, suppose is it possible to write a .cmd batch file an create an icon
  36. for it and run it from the WPS?
  37.  
  38.  
  39. Any and all info on the above problems would be greatly appreciated.
  40. Please email (and post if you want) as I often blindy mark this newsgroup
  41. as read due to large volume and limited perusal time. (yes, I know how
  42. to scan subjects, but email is easier) 
  43.  
  44. Thanks, Terence
  45. spielman@pender.ee.upenn.edu
  46.