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