晴朗笔记

努力做好自已,其他交给时间

03 2012 档案

【批处理】时间处理
摘要:SET /a a=%time:~0,2%*60+%time:~3,2%if %a% geq 480 if %a% leq 1080 (goto 下一步) GOTO :EOF:下1步.......... 上面代码(红色标示)是取 %time% 环境变量中的小时(采用截取字符串的方法取得的) 假如: % 阅读全文

posted @ 2012-03-06 18:15 Mr__BRIGHT 阅读(1883) 评论(0) 推荐(0) 编辑

【批处理】创建快捷方式
摘要:方法1 @echo off set "exe=%~dp0proe.exe" set "name=新创建的快捷方式" set m="%ALLUSERSPROFILE%\桌面\%name%.url" echo [InternetShortcut]>%m% echo URL="%exe%">>%m% ec 阅读全文

posted @ 2012-03-06 17:49 Mr__BRIGHT 阅读(785) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示