AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Visitor | ALL | 2.bat |
September 10, 1995 3:49 AM * |
|||
Here is a terrific little batch that allows changing drives and directories without using colons and back slashes. For example, to change to d drive: 2 d to change to c:\telix : 2 c telix to change from c:\telix to c:\telix\down: 2 down @ECHO OFF FOR %%h IN (a A b B c C d D e E f F) DO IF (%1) == (%%h) %%h: FOR %%k IN (a A b B c C d D e E f F) DO IF (%1) == (%%k) SHIFT IF NOT EXIST %1\NUL CD \ FOR %%f IN (%1 %2 %3 %4 %5 %6 %7 %8 %9) DO CD %%f Here is a version for network drives: @ECHO OFF REM If your last disk drive is less than F:, remove the REM non-existent letters from the two FOR commands that follow. REM If your last disk drive is more than F:, add letters REM as necessary to the two FOR commands that follow. FOR %%h IN (a A b B c C d D e E f F) DO IF (%1) == (%%h) %%h: FOR %%k IN (a A b B c C d D e E f F) DO IF (%1) == (%%k) SHIFT CTTY NUL REM>%1\$$TEST$$.$$$ CTTY CON IF NOT EXIST %1\$$TEST$$.$$$ GOTO No DEL %1\$$TEST$$.$$$ GOTO Change_Dir :No CD \ :Change_Dir FOR %%f IN (%1 %2 %3 %4 %5 %6 %7 %8 %9) DO CD %%f ... From PC Magazine ___ Blue Wave/QWK v2.12 |
||||||
|
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
Execution Time: 0.0165 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |