Category : Batch File Utilities - mostly for DOS
Archive   : SAVEDIR.ZIP
Filename : SAVEDIR.BAT

 
Output of file : SAVEDIR.BAT contained in archive : SAVEDIR.ZIP
@ECHO OFF
REM +----------------------------------------------------------
REM ! This batch files is used to save the current directory
REM ! so that it can later be restored.
REM +----------------------------------------------------------
REM
REM SAVE CURRENT DIRECTORY
REM
COPY C:\DOSUTILS\CDCMD.DAT C:\DOSUTILS\HOMEDIR.BAT >NUL
CD >> C:\DOSUTILS\HOMEDIR.BAT
REM
REM ISSUE LOGICAL CONNECTION SETUP COMMANDS
REM
CD\LC
MODE LPT1:=COM1:
MODE COM1:9600,N,8,1,P
POPLC
REM
REM RETURN TO ORIGINAL DIRECTORY
REM
CALL C:\DOSUTILS\HOMEDIR.BAT
DEL C:\DOSUTILS\HOMEDIR.BAT


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : SAVEDIR.ZIP
Filename : SAVEDIR.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/