當前位置:編程學習大全網 - 熱門推薦 - 批處理命令中間如何加選擇是否繼續命令?

批處理命令中間如何加選擇是否繼續命令?

@ echo off

"\\cnhshalcf8ms005\itdoc$\Software\Adobe Reader 6.0\AdbeRdr60_enu_full.exe"

"\\cnhshalcf8ms005\itdoc$\Software\Adobe Reader 6.0\Adobe Reader 6.0 Asian Font Packs\AdobeReader60_AsianFontPacks\WXPW2K_TI_10\install.exe"

call :ask

"\\cnhshalcf8ms005\itdoc$\Software\Lotus Notes 6.0.3\Notes 6.0.3 English\Lotus Notes 6.0.3.msi"

"\\cnhshalcf8ms005\itdoc$\Software\WinZip_90SR1\Source\WinZip_90SR1.msi"

call :ask

"\\cnhshalcf8ms005\itdoc$\Software\Office_2003SP2\Source\PRO11.MSI"

"\\cnhshalcf8ms005\itdoc$\Software\TPO_SW\LCS\communicator\Communicator.msi"

call :ask

"\\cnhshalcf8ms005\itdoc$\Software\TPO_SW\jre-1_5_0_11-windows-i586-p-s.exe"

"\\cnhshalcf8ms005\itdoc$\Software\TPO_SW\Trend\OfficeScan-Client for Workstation\SHA-Ver-73-for-XP-2K-20060902.exe"

:ask

set /p q=還要繼續嗎? (y/n)

if /i %q%==n exit

goto :eof

exit

  • 上一篇:求參加全國數學競賽的網站?
  • 下一篇:小浪飲水機故障代碼
  • copyright 2024編程學習大全網