home *** CD-ROM | disk | FTP | other *** search
- /**************************************************************************/
- /* CreateWP.CMD - Creates a sample folder on the desktop and opens it. */
- /* This folder is for use with the Workplace/2 Tutorial. */
- /* */
- /* Bud Ramsey 06/18/93 */
- /**************************************************************************/
-
- Parse Arg source_id target_id open_flg;
- object_id = Strip(source_id,'B','"');
- object_id = Strip(target_id,'B','"');
-
- 'xcopy 'source_id'\*.* 'target_id'\*.* /S'
-
- If open_flg = '' Then do;
-
- Call RxFuncAdd 'SysLoadFuncs', 'rexxutil', 'SysLoadFuncs';
- Call SysLoadFuncs
- Call RxFuncAdd 'SysSetObjectData', 'rexxutil', 'SysSetObjectData'
- Call SysSetObjectData target_id, 'OPEN=DEFAULT';
- end
-