home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
vrac
/
tsbat46.zip
/
PUSHIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-14
|
797b
|
29 lines
@echo off
echo.
echo ┌───────────────────────────────────────────────────┐
echo │ An alternative pushing the directory │
echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, 14-Apr-92 │
echo └───────────────────────────────────────────────────┘
echo.
rem Check that c:\bat\cd.aux is available
if exist c:\bat\cd.aux goto _label1
echo Auxilary file c:\bat\cd.aux not found
goto _out
rem Check that you have drive R:\ available
rem If not, customize the r:\ below
:_label1
if exist r:\nul goto _label2
echo Directory R:\ not available, read the batch rems
:_label2
cd > tmp$$$
copy c:\bat\cd.aux + tmp$$$ r:\popit.bat > nul
del tmp$$$*
echo To restore the pushed directory write R:\POPIT
echo.
echo POPIT.BAT does not work between different drives
:_out