cmd脚本
@echo off
set host=%1
echo %host%
if not "zzz" == "zzz" goto a
echo ppppppppppppppp
echo zzzzzzzzzz
::exit 1
:a
if "aa" == "aa" goto b
echo bbbbbbbbbbbbbb
echo mmmmmmmmmmmmmmm
:b
pause
bat脚本判断逻辑
@echo off
if 5 == 6 (goto f) else (goto s)
:f
echo ffffffffffffff
pause
exit 5
:s
echo ssssssssssssss
pause
exit 0
@echo off
echo 正在打开 "<<数据部资料>>",请耐心等待,以后请访问X盘,进行资料查阅!
nbtstat -c >nul
nbtstat -a 192.168.100.170 >nul
::start /max explorer /e /n /root,\\Win-v6jmm6cf03n\数据部资料
net use x: \\Win-v6jmm6cf03n\数据部资料
start /max \\Win-v6jmm6cf03n\数据部资料
pause
::start /max explorer.exe /root,\\Win-v6jmm6cf03n\数据部资料