home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / MENU / KYSS37.ZIP / DOS.MNU < prev    next >
Text File  |  1991-02-13  |  3KB  |  96 lines

  1. REM: DOS.MNU called from SYSTEM.MNU
  2. HDG: DOS SYSTEM COMMANDS & UTILITIES
  3. POS: 6,26
  4. ORD:
  5. Floppy Disk Format Menu         FORMAT
  6.       HLP:DOS.HLP 1
  7.       MNU:FORMAT
  8. Duplicate Floppy Disk         DISKCOPY
  9.       HLP:DOS.HLP 2
  10.       INP:Enter SOURCE drive name as d: (A:,B:, or D:)
  11.       INP:Enter TARGET drive name as d: (A:, B:, or D:)
  12.       REM:Check for valid source/target drive specifications
  13.       FOR %%f IN (A:,a:,B:,b:,D:,d:) DO IF ($1)==(%%f) GOTO CHKTARGET
  14.       ECHO $1 is not a valid SOURCE drive specification
  15.       goto ERROR
  16.       :CHKTARGET
  17.       FOR %%f in (A:,a:,B:,b:,D:,d:) DO IF ($2)==(%%f) GOTO DRIVESOK
  18.       ECHO $2 is not a valid TARGET drive specification
  19.       GOTO ERROR
  20.       :DRIVESOK
  21.       ECHO 
  22.       DISKCOPY $1 $2
  23.       GOTO END
  24.       :ERROR
  25.       ECHO 
  26.       ECHO You must enter "A:" "B:" or "D:" for both SOURCE and TARGET drives
  27.       ECHO Please touch any key and try again.
  28.       KYPAUSE > NUL:
  29.       :END
  30. Backup Hard Disk                BACKUP
  31.       HLP:DOS.HLP 8
  32.       MSG:This will back up all files on your hard disk Drive C: to floppy &
  33.       disks in Drive A:.  NOTE: Unless your backup disks are pre-formatted, &
  34.       you MUST use disks that are the same as the target drive.  In other &
  35.       words, use 360K disks in a 360K drive, etc.
  36.       BACKUP C:\*.* A: /S/F
  37. Disk Confidence Check           CHKDSK
  38.       HLP:DOS.HLP 3
  39.       INP:Please Enter drive to check (A: to Z:) or <Enter> for current &
  40.           drive.
  41.       IF $1~==~ GOTO DEFALT
  42.       CHKDSK $1: /F
  43.       GOTO END
  44.       :DEFALT
  45.       CHKDSK /F
  46.       :END
  47.       KYPAUSE
  48. Display/Add To/Restore Path       PATH
  49.       HLP:DOS.HLP 7
  50.       XIT:
  51.       INP:A=Add to end   I=Insert @ beginning    R=Restore path   &
  52.       <Enter>=Display
  53.       INP:Enter:Full path name as  d:\dir\subdir or <Enter> to display
  54.       REM: Adapted from PC Magazine's rspath.bat
  55.       IF "$1"==""  GOTO end
  56.       FOR %%f IN (R,r) DO IF "$1"=="%%f" GOTO reset
  57.       IF "$2"==""  GOTO error
  58.       FOR %%f IN (A,a) DO IF "$1"=="%%f" GOTO append
  59.       IF "$1"=="A" GOTO append
  60.       FOR %%f IN (I,i) DO IF "$1"=="%%f" GOTO insert
  61.       GOTO end
  62.       :append
  63.       SET op=%path%
  64.       PATH=%path%;$2
  65.       GOTO end
  66.       :insert
  67.       SET op=%path%
  68.       PATH=$2;%path%
  69.       GOTO end
  70.       :reset
  71.       PATH=%op%
  72.       SET op=
  73.       :end
  74.       PATH
  75.       REM: KYPAUSE
  76.       pause
  77. Display Environment                SET
  78.       MSG:You will notice a single line of strange characters as the last &
  79.       line in the DOS environment.  This is used by the KYSS! system and &
  80.       is normal.
  81.       HLP:DOS.HLP 5
  82.       SET
  83.       KYPAUSE
  84. Set Date/Time                DATE/TIME
  85.      INP: Enter date as: mm-dd-yyyy (NOTICE be sure to use "-" chars.)
  86.      INP: Enter time as: hh:mm:ss in 24-hour format (1 pm. is 13:00:00)
  87.      HLP:DOS.HLP 4
  88.      XIT:
  89.      DATE $1
  90.      TIME $2
  91. Memory Information (DOS 4)         MEM
  92.       HLP:DOS.HLP 6
  93.       XIT:
  94.       MEM|MORE
  95.       KYPAUSE
  96.