• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

xWP xShutdown

Started by RobertM, 2008.03.24, 22:52:32

Previous topic - Next topic

RobertM

Hey all,

I have xWP installed (v1.07 I think), which comes with an xshutdwn.cmd script...

The script calls the xWorkplace shutdown procedure via the desktop... the relevant line in the script is:


call SysSetObjectData '<WP_DESKTOP>', 'XSHUTDOWNNOW=DEFAULT;'

So, my questions are:

  • Are there other options that it will accept (besides DEFAULT) and if so, what do they do?
  • Besides disabling "Confirm Shutdown" on the xWP Shutdown dialog, is there a way to call xWPShutdown from REXX that bypasses that dialog?

The second question basically is to try to have a shutdown & reboot method that a script can call with no user intervention (and with properly shutting down the database and other server daemons) - while still leaving the confirmation screen for when a user selects "Shutdown" from the desktop's popup menu...

The docs are kinda light in this area, and the xshutdwn.cmd script has no real commenting... so I am not sure what other setup string variants are possible.

Thanks in advance,
Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


rudi

#1
Quote from: RobertM on 2008.03.24, 22:52:32
Are there other options that it will accept (besides DEFAULT) and if so, what do they do?

Yes. Currently I'm not in the office and don't have all of them handy. But what seems to work is the following:

call SysSetObjectData '<WP_DESKTOP>', 'XSHUTDOWNNOW=POWEROFF,AUTOCLOSEVIO,NOCONFIRM;'

The options should be self-explaining. You might want to try REBOOT instead of POWEROFF, but I'm not 100% sure about that one.


RobertM

Thanks Rudi, I'll try and let ya know!

-Rob


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|