請問有誰可以解釋下方DOS語法?(autoexec,bat)

第一段
@echo offn
rem 檢查是否始經執行過Local安裝
if not exist c:\reg\bin md c:\reg\bin
if exist c:\reg\bin\1031203reg.txt goto end
copy g:\UPDATA\reg\bin\1031203reg.txt c:\reg\bin /y
copy g:\UPDATA\reg\bin\IEdownloadfile_tips.reg c:\reg\bin /y
regedit /s c:\reg\bin\IEdownloadfile_tips.reg
:END
第二段
@echo off
net use g: /delete /y
rem net use g: \\IPCAP11\IPR /persistent:yes
net use g: \\IPCAP3\IPR
call G:\UPDATE\runregedit.bat /s
call G:\UPDATE\造字更新.bat /s
echo net use g: \\IPCAP11\IPR >
c:\temp\autoexec.log

謝謝賜教!
簡單說明如下
if not exist c:\reg\bin md c:\reg\bin
如果路徑不存在,就建立路徑

if exist c:\reg\bin\1031203reg.txt goto end
如果檔案存在,就直接結束

copy g:\UPDATA\reg\bin\1031203reg.txt c:\reg\bin /y
copy g:\UPDATA\reg\bin\IEdownloadfile_tips.reg c:\reg\bin /y
複制檔案

regedit /s c:\reg\bin\IEdownloadfile_tips.reg
登錄註冊該檔案碼
專回你的文
我覺得你要不要直接說你遇到什麼問題,這樣或許會快一點得到解答。你這東西很像是設定公文系統之類的....
smallrice0513
謝謝賜教!
就字面看,是要用IEdownloadfile_tips.reg
來控制IE是否可以下載檔案

專回你的文
那reg檔應該是啟用或停用"自動提示下載檔案"。
smallrice0513
謝謝賜教!
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!