home *** CD-ROM | disk | FTP | other *** search
- /* CDO - Script for Directory Opus 5 by Leo Davidson (P0T-NOoDLE/Gods'Gift)
- When run from a Shell, will 'CD' to the path used by the SOURCE Lister
-
- To make it work, add the following line to your s:shell-startup:
- -------------------------------------------------------------------------------
- Alias CDO "CD *`rx DOpus5:ARexx/cdo.dopus5*`"
- -------------------------------------------------------------------------------
- */
-
- address "DOPUS.1" /* Assumes there's only one copy. */
- options results
-
- lister query source /* Get handle of 1st SOURCE lister. */
- Ls_Handle = Word(RESULT,1)
-
- Lister Query Ls_Handle Path /* Get its path. */
- Say RESULT /* Echo result -> input of CD cmd. */
- EXIT
-