SCOUG-HELP Mailing List Archives
Return to [ 25 |
September |
2001 ]
<< Previous Message <<
Content Type: text/plain
=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================
Ray Davison wrote:
>
> I have successfully backedup and restored OS/2 boot drive with this.
Ray, thanks _very_ much.
I've touched up your BACKUP.CMD file so you can specify the drive letter
on the command line:
@echo off
:: If no parameter, display Help
if _%1 == _ goto Help
:: Check for a "good" drive letter
for %%x in (c C d D e E f F g G h H i I) do if %%x == %1 goto GoodDrv
echo ERROR - the specified drive must be C D E F G H or I, cannot be
%1
echo.
goto Help
:GoodDrv
:: Back up using the specified drive letter
zip -rgSu9TvE I:\BACKUP\zip%1 %1:\ >I:\BACKUP\%1.log
goto EndOfCmd
:Help
echo Syntax is BACKUP DRVLTR
echo where DRVLTR is the letter of the drive to be backed up
echo Example: BACKUP C
:EndOfCmd
- Peter
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 25 |
September |
2001 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|