home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
utlos2.zip
/
OS2
/
CDX.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-07-11
|
878b
|
21 lines
@echo off
: $Id: cdx.cmd 1.1 1997/07/11 22:52:30 brian Exp $
:------------------------------------------------------------------------------
: This command script requires the c:\tmp directory and needs the cdir.exe
: program within the current PATH.
:
: This batch file implements the cdx command as follows:
:
: 1. The cdir.exe command is run against the specified drive/path
: (or no argument, to go to the HOME directory).
:
: 2. The output from cdir is written to a temporary batch file. It contains
: the commands to change the drive and path as desired.
:
: 2. This cdx.bat file then chains to the newly-created batch file to
: change the working directory of the parent shell (command.com).
:------------------------------------------------------------------------------
cdir %1 >c:\tmp\_tmpcdx.cmd
c:\tmp\_tmpcdx.cmd