随笔分类 -  Batch

Write Some Batch Under Windows Command Line
摘要:DosTips - The DOS Batch Guide https://www.dostips.com/ 阅读全文
posted @ 2023-09-15 22:43 任国强 编辑
摘要:小工具—把多个TXT文件合成一个 - TTXS_RS的博客 - CSDN博客https://blog.csdn.net/TTXS_RS/article/details/79743384 把所有文本文件合成一个文件 - weixin_41412410的博客 - CSDN博客https://blog.c 阅读全文
posted @ 2019-02-02 15:24 任国强 阅读(667) 评论(0) 推荐(0) 编辑
摘要:以前自己也写过Windows下自动打开多个浏览器测试某个URI,提高浏览器兼容性测试效率。 但是写的browse.bat文件还是最基础简陋的 今天恰巧看到cygwin安装目录下用perl写的url_handler.pl,感觉作者的思路挺有趣。 代码共赏析:C:\cygwin\bin\url_hand 阅读全文
posted @ 2018-02-20 22:11 任国强 阅读(331) 评论(0) 推荐(0) 编辑
摘要:linux https://www.linuxquestions.org/questions/linux-general-1/ls-do-not-list-full-path-only-filename-657894/ https://unix.stackexchange.com/questions 阅读全文
posted @ 2017-11-22 14:37 任国强 阅读(527) 评论(0) 推荐(0) 编辑
摘要:java -jar selenium-server-standalone-2.53.1.jar -role hub explorer http://192.168.1.173:4444/grid/console nautilus http://192.168.1.173:4444/grid/console java -jar selenium-server-standalone-2.53.1.... 阅读全文
posted @ 2017-09-01 09:29 任国强 阅读(931) 评论(0) 推荐(0) 编辑
摘要:D:\apache-tomcat-7.0.57\bin>net start mysql57发生系统错误 5。 拒绝访问。 以管理员身份运行 run as administrator 打开cmd.exe 阅读全文
posted @ 2017-06-29 15:47 任国强 阅读(335) 评论(0) 推荐(0) 编辑
摘要:以前有一个同事,说自己的Java控制台程序,输出的信息,打印信息以及错误信息,在windows的command line刷屏,想复制下来,想要自输出到日志文件里。 自己写文件太麻烦,他从网上只找到用重定向符号>能把打印信息的输出到文件里,但是错误信息却总是没有,不知道为啥。 经过分析其实是windo 阅读全文
posted @ 2016-12-07 09:37 任国强 阅读(1341) 评论(0) 推荐(0) 编辑
摘要:同样的一个catalina文件,windows的cmd下的find命令比bash下的grep要慢,windows确实占下风啊 阅读全文
posted @ 2016-06-06 15:47 任国强 阅读(1350) 评论(0) 推荐(0) 编辑
摘要:Browse.bat 上述start /d可以异步启动各浏览器的新Tab,不会导致浏览器卡的进程阻塞整个批处理的继续执行。 "Program Files"在64位的系统下运行32位的IE,就是"C:\Program Files (x86)"了,此处可以再考虑用系统环境编码。 之所以会有这个批处理文件 阅读全文
posted @ 2016-04-14 11:40 任国强 阅读(1414) 评论(0) 推荐(0) 编辑
摘要:@echo offsetlocal EnableDelayedExpansionfor /f "delims=" %%i in ('dir *.vm /q/s/b') do ( copy %%i %%~dpni.jsp) 阅读全文
posted @ 2015-08-04 14:25 任国强 阅读(189) 评论(0) 推荐(0) 编辑
摘要:@echo offfor /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%jset ldts... 阅读全文
posted @ 2015-07-27 12:52 任国强 阅读(194) 评论(0) 推荐(0) 编辑
摘要:rundll32.exe user32.dll,LockWorkStationrundll32 url.dll,FileProtocolHandler http://www.baidu.comrundll32,是一个服务器url.dll,FileProtocolHandler 格式描述:dllname.dll,functionname 阅读全文
posted @ 2012-10-17 12:48 任国强 阅读(2006) 评论(0) 推荐(0) 编辑
摘要:TortoriseSVN太重量级,偶尔SVN当成一个下载工具:就好比下载一个小文件,不需要迅雷的。附件里,是从TortoriseSVN里提取的客户端:虚拟机装Windows 2003 Server Enterprise里测试过了,能正常运行。另外从系统其它目录里提取了:msvcr100.dll(Microsoft® C Runtime Library 10.0.xxx),这样更稳妥。需要的朋友,拿去!http://files.cnblogs.com/rgqancy/SVNCommands.zip 阅读全文
posted @ 2012-07-02 09:02 任国强 阅读(397) 评论(0) 推荐(0) 编辑
摘要:从MSI文件提取内容获得上周的开始结束时间串批量调用编辑工具,打开某类扩展名的文件快速关机批量文件名追加字符串通用Diff调用:Windiff+TortoiseMerge+BeyondCompare(三合一,最好将来把UltraEdit下的比较工具,也加进来)清理VS的编译结果文件夹(清理后,SVN提交代码时看着比较清楚,去掉了垃圾文件)PS:我发现BeyondCompare的比较功能,好像越来越蠢了,当然用户体验是更好了。本人比较懒,请下载附件查看http://files.cnblogs.com/rgqancy/CommonBatch.7z 阅读全文
posted @ 2011-12-29 10:24 任国强 阅读(492) 评论(2) 推荐(1) 编辑
摘要:PipeSign.bat 阅读全文
posted @ 2011-12-27 11:24 任国强 阅读(697) 评论(0) 推荐(0) 编辑
摘要:MSI Extract 提取 阅读全文
posted @ 2011-12-22 13:23 任国强 阅读(328) 评论(0) 推荐(0) 编辑
摘要:explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4786explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4316explo 阅读全文
posted @ 2011-03-15 10:05 任国强 阅读(257) 评论(0) 推荐(0) 编辑
摘要:explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4786explorer http://archive.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=4316explor 阅读全文
posted @ 2011-03-15 10:04 任国强 阅读(290) 评论(0) 推荐(0) 编辑
摘要:testhttputility.batwscript GET http://msdn.microsoft.com/en-us/ff972295httputility.jsif (WScript.Arguments.length 2){ WScript.echo("Client HTTP Request Utility\n"); WScript.echo("usage: httprequest method uri [options]"); WScript.echo(); WScript.echo(" -f filename"); WScript.echo(" -h headerName h 阅读全文
posted @ 2011-01-25 23:26 任国强 阅读(302) 评论(0) 推荐(0) 编辑

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