• 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

open a folder

Started by jep, 2008.04.08, 20:41:38

Previous topic - Next topic

jep

Marked as: Normal
Hello,

You can use rexx to open folder in several ways, but do you know that you can use rexx to open a folder in details and tree view as well?

/* Four ways to open a folder */

call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs

call SysSetObjectData 'c:\Temp', 'OPEN=ICON;'
call SysSetObjectData 'c:\Programs', 'OPEN=TREE;'
call SysSetObjectData 'c:\os2', 'OPEN=DETAILS;'
call SysSetObjectData 'c:\mmos2', 'OPEN=SETTINGS;'


How you can find out what to specify as OPEN?
Well, if you've got eWorklplace or XWorkplace installed open the properties for the folder, switch to the tab labeled "Icon" and click on the button at the bottom called "Details..."
Look at the bottom of the window that appear in teh area called Setup string and you'll see some of the settings you can alter.