19
Feb

在.bat中sleep和kill

在Unix环境下,命令行或者shell中sleep和kill是常见的动作,在Windows的.bat文件中处理类似的任务就不那么直接了,备忘如下:

[sleep]
ping 127.0.0.1 -n 需要的秒数+1 -w 1000 > nul

[kill]
taskkill /f /im “进程名(如notepad.exe)”
taskkill /f /fi “WINDOWTITLE eq notepad*”

其中/f表示强制,/im表示image镜像名(可执行文件名),/fi表示filter,后面跟表达式,比如这里的”窗体标题等于notepad*”,支持wildcast通配符。

via Read Sean

另外一个不错的站点:
http://www.cn-dos.net/forum/forumdisplay.php?fid=23

23
May

去除PDF文件的数字签名及密码保护 - updated

This article aimed to discuss how to remove “certificate security” restrictions from pdf files, which is now removed.

thanks a lot for your concern.

涉及违反法律的内容,已经删除。