批处理bat根据星期启动程序
程序员文章站
2022-03-22 16:33:14
@echo off
set no=%date:~13,14%
if %no%==一 goto :open
if %no%==二 goto :open
if...
@echo off set no=%date:~13,14% if %no%==一 goto :open if %no%==二 goto :open if %no%==三 goto :open if %no%==四 goto :open if %no%==五 goto :open goto :eof :open start "vpc" "e:\program files\microsoft virtual pc\virtual pc.exe" start "msn" "c:\program files\windows live\messenger\msnmsgr.exe" ::start "qq" "d:\start\腾讯qq" ::start "sms" "d:\start\fetion 2008.lnk" start /min "outlook" "outlook" start /min "金山词霸" "d:\start\金山词霸2007" goto :eof
上一篇: 深入了解c# 信号量和互斥体
下一篇: 批处理中如何判断参数中含有某些字符串?