home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 October / PCWorld_2006-10_cd.bin / zabezpeceni / avdisk / avdisk92e.exe / DATA.ZIP / DISKIMG.ZIP / DISKIMG.IMG / AVDISK / COPYINFO.BAT next >
DOS Batch File  |  2004-05-22  |  993b  |  61 lines

  1. @echo off
  2.  
  3. rem
  4. rem This program is called by AVDisk and should not be run directly
  5. rem
  6.  
  7. if not %1*==AVDisk* goto end
  8.  
  9. %RAMDrive%
  10. cd\
  11. copy a:\command.com /y >nul
  12. set ComSpec=%RAMDrive%\command.com
  13. set path=%RAMDrive%\
  14.  
  15. call a:\avdisk\avconfig.bat AVDisk
  16.  
  17. copy a:\avdisk\help.bat /y >nul
  18. copy a:\avdisk\envinfo.com /y >nul
  19. copy a:\avdisk\unzip.exe /y >nul
  20. copy a:\avdisk\ntfsdos.exe /y >nul
  21.  
  22. a:\avdisk\glue.exe %RAMDrive%
  23.  
  24. if errorlevel 1 goto error
  25.  
  26. unzip.exe avdata.zip
  27.  
  28. if not ErrorLevel 2 goto continue
  29.  
  30. :error
  31.  
  32. echo Error - %AVProg% was not decompressed succesfully
  33. echo.
  34.  
  35. pause
  36. goto end
  37.  
  38. :continue
  39.  
  40. rem Load NTFSDOS here so it does not interfere with UnZip
  41. ntfsdos.exe
  42.  
  43. cls
  44. echo AVDisk
  45. echo ====== 
  46. echo.
  47. echo %AVProg% is now ready for use
  48. echo Type HELP if you need further instructions
  49. echo.
  50. echo Current environment status:
  51. envinfo.com
  52. echo.
  53. echo.
  54.  
  55. del envinfo.com >nul
  56. del unzip.exe >nul
  57. del avdata.zip>nul
  58.  
  59. :end
  60. set AVProg=
  61.