OS/2, eCS & ArcaOS - Technical > Applications

Set default view for folders from command line

(1/1)

gamba:
Hi all,

I have some Samba remote folders that I would like to automatically open as "Split view" when I double click them.
I can set the "Default" opening mode to "Split view", but this setting is lost after reboot. Is there any way to set the "Default" opening mode for a folder via REXX?

Thanks
Gabriele

Alex Taylor:
You should be able to use SysSetObjectData with a setup string of 'DEFAULTVIEW=SPLITVIEW;'.

Andreas Schnellbacher:
You can easily use the 'Open as...' cascade menu item to set a folder's default view: Keep the Sh key pressed while clicking with MB1 on a view item.

BTW: That feature is apparently not well documented in XWP's hlp and inf files. But I've found it here: xfld001.hlp -> Version Information -> XWorkplace 1.0.9.

o  Shift+MB1 on an item in the 'Open as' menu now sets the default view for files and folders. Bug 4 [rw]

gamba:

--- Quote from: Alex Taylor on May 08, 2015, 12:23:51 pm ---You should be able to use SysSetObjectData with a setup string of 'DEFAULTVIEW=SPLITVIEW;'.

--- End quote ---

Thank you Alex,

oo /A Y:\remoteresource DEFAULTVIEW=SPLITVIEW;

works great!

gamba:

--- Quote from: Andreas Schnellbacher on May 08, 2015, 04:46:36 pm ---You can easily use the 'Open as...' cascade menu item to set a folder's default view:
...

--- End quote ---

Hi Andreas, the folder is a remote (Netdrive) resource and the setting is lost with reboot.

Navigation

[0] Message Index

Go to full version