同一台电脑多个金税盘(同一台电脑多个ip)
大家好!今天讓小編來大家介紹下關(guān)于同一臺(tái)電腦多個(gè)金稅盤(同一臺(tái)電腦多個(gè)ip)的問題,以下是小編對此問題的歸納整理,讓我們一起來看看吧。
您好,今天芳芳來為大家解答以上的問題。同一臺(tái)電腦多個(gè)金稅盤,同一臺(tái)電腦多個(gè)ip相信很多小伙伴還不知道,現(xiàn)在讓我們一起來看看吧!
1、給你個(gè)批處理,自己在里面修改下,支持1個(gè)自動(dòng)獲取。
2、3個(gè)手動(dòng)填寫的,我就一直用著:@echo offmode con cols=80 lines=10&color 0dtitle IP 切換設(shè)置:stclsecho.echo 1.(自動(dòng)獲取) 2.(手動(dòng)1) 3.(手動(dòng)2)4.(手動(dòng)3)echo.set /p ip=請輸入:echo.if %ip%==1 goto zdif %ip%==2 goto sd1if %ip%==3 goto sd2if %ip%==4 goto sd3echo|set /p a=輸入錯(cuò)誤,請重新輸入...&pause>nul&&goto st:zdnetsh interface ip set address name=本地連接 source=dhcpnetsh interface ip set dns name=本地連接 source=dhcpecho 設(shè)置完畢...ping n 2 127.1>nulexit:sd1netsh interface ip set address "本地連接" static (此處填I(lǐng)P 子網(wǎng)掩碼 和網(wǎng)關(guān) 用空格隔開)netsh interface ip set DNS "本地連接" static (首選NDS)netsh interface ip add dns "本地連接" (備用NDS)index=2if exist %SystemRoot%setupapi.log del /q %SystemRoot%setupapi.logecho 設(shè)置完畢...exit:sd2netsh interface ip set address "本地連接" static (此處填I(lǐng)P 子網(wǎng)掩碼 和網(wǎng)關(guān) 用空格隔開)netsh interface ip set DNS "本地連接" static (首選NDS)netsh interface ip add dns "本地連接" (備用NDS)index=2if exist %SystemRoot%setupapi.log del /q %SystemRoot%setupapi.logecho 設(shè)置完畢...exit:sd3netsh interface ip set address "本地連接" static (此處填I(lǐng)P 子網(wǎng)掩碼 和網(wǎng)關(guān) 用空格隔開)netsh interface ip set DNS "本地連接" static (首選NDS)netsh interface ip add dns "本地連接" (備用NDS)index=2if exist %SystemRoot%setupapi.log del /q %SystemRoot%setupapi.logecho 設(shè)置完畢...exit:errecho.echo 手動(dòng)設(shè)置失敗echo|set /p a=請檢查一下IP輸寫是否正確...pause>nulgoto st 如果還要多的IP的話。
3、可以在下面自己再加:這段:if %ip%==1 goto zdif %ip%==2 goto sd1if %ip%==3 goto sd2if %ip%==4 goto sd3if %ip%==5 goto sd4if %ip%==6 goto sd5……但是下面的有相應(yīng)的段,這段添加在:err 段前面::sd4(前面的數(shù)字4,隨著你的添加改變 )netsh interface ip set address "本地連接" static (此處填I(lǐng)P 子網(wǎng)掩碼 和網(wǎng)關(guān) 用空格隔開)netsh interface ip set DNS "本地連接" static (首選NDS)netsh interface ip add dns "本地連接" (備用NDS)index=2if exist %SystemRoot%setupapi.log del /q %SystemRoot%setupapi.logecho 設(shè)置完畢...exit。
本文就為大家分享到這里,希望小伙伴們會(huì)喜歡。
以上就是小編對于同一臺(tái)電腦多個(gè)金稅盤(同一臺(tái)電腦多個(gè)ip)問題和相關(guān)問題的解答了,同一臺(tái)電腦多個(gè)金稅盤(同一臺(tái)電腦多個(gè)ip)的問題希望對你有用!
總結(jié)
以上是生活随笔為你收集整理的同一台电脑多个金税盘(同一台电脑多个ip)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 角瓜馅饺子怎么做好吃呢?
- 下一篇: 小班家长会方案指导思想(方案指导思想)