home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25939 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!clarkson!clarkson
  2. Date: Wed, 29 Jul 92 16:38:07 EDT
  3. From: Dan Kehn <KEHN@CARVM3.VNET.IBM.COM>
  4. Subject: Questions: Migrate,WPS etc...
  5. Message-ID: <"barnacle.e.412:29.06.92.21.44.49"@clarkson.edu>
  6. Newsgroups: comp.os.os2.misc
  7. Approved: Clarkson University
  8. Lines: 25
  9.  
  10. References: <1992Jul19.211312.19031@odin.diku.dk>
  11.  
  12. In <1992Jul19.211312.19031@odin.diku.dk> Morten Christian Holmgreen writes:
  13. >Maybe some of you OS/2'ers can help me answering the following questions:
  14. >
  15. >1)  How do I get OS/2 to return errorcodes to a program automatically,
  16. >    instead of popping up to ask "Return error code to program", when
  17. >    a program tries to access a locked file???
  18.  
  19. Call DosError(DISABLE_ERRORPOPUPS) before calling DosOpen().  Call
  20. DosError(ENABLE_ERRORPOPUPS) to re-enable system handling of hard
  21. errors.
  22.  
  23. >2)  Exactly which files do I have to back up to preserve the WPS as it
  24. >    is, apart from the OS!2_2.0_D directory, which maintains the physical
  25. >    stuff???
  26.  
  27. OS2.INI, OS2SYS.INI, CONFIG.SYS.  Your backup utility needs to
  28. preserve the EAs (extended attributes), too, because folder attributes
  29. are stored in the directory's EAs.  You might want to read the
  30. FAQ list for more backup hints (me, I never back up anything ;-)
  31.  
  32. Don't know the answers to (3) and (4).
  33.  
  34. Dan Kehn
  35.