home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
utlos2.zip
/
Win32
/
cdx.bat
< prev
next >
Wrap
DOS Batch File
|
1997-06-04
|
875b
|
21 lines
@echo off
: $Id: cdx.bat 1.4 1997/06/05 02:23:16 brian Exp $
:------------------------------------------------------------------------------
: This batch file 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.bat
c:\tmp\_tmpcdx.bat