Hello Jan,
28 Sep 99 07:19, Jan van der Heide wrote to All:
JH> Some time ago a REXX repair script was given to fix a problem in which
JH> the setting for the DESKTOP could not be found during boot. A friend
JH> of mine encounters this problem that when he boots up ends with an
JH> OS/2 command prompt and an error message about not being able to find
JH> the desktop. Where can I find this REXX script or can somebody repost
JH> it? TIA
If the desktop lost it's object ID: . To recreate it, run the
following piece of REXX:
/* restore the desktop's object ID: */
call RxFuncAdd 'SYSLOADFUNCS', 'REXXUTIL', 'SYSLOADFUNCS'
call SysLoadFuncs
call SysSetObjectData 'C:\DESKTOP', 'OBJECTID='
(Replace "C:" with your boot drive if necessary.)
---------------------
With a certain fixpack (I forgot which) the function SysBootDrive() is added,
to test for this function, you can run this REXX script:
/* test availability of the SysBootDrive() function */
call RxFuncAdd 'SYSLOADFUNCS', 'REXXUTIL', 'SYSLOADFUNCS'
call SysLoadFuncs
say 'boot drive is' SysBootDrive()
---------------------
When the SysBootDrive() function is available, you can replace the drive
letter of the boot drive by a call to this function:
/* recreate object ID of desktop */
call RxFuncAdd 'SYSLOADFUNCS', 'REXXUTIL', 'SYSLOADFUNCS'
call SysLoadFuncs
call SysSetObjectData SysBootDrive() || '\DESKTOP', 'OBJECTID='
Greetings -=Eddy=- email: eddy.thilleman@net.hcc.nl
... A dirty mind is a terrible thing to waste.
--- GoldED/2 3.0.1
* Origin: Windows95 is a graphic DOS extender (2:500/143.7)
|