2019年10月11日

Batch - call, start, goto 区别

摘要: 参考(待整理): 批处理命令——call 和 start 阅读全文

posted @ 2019-10-11 18:18 frank_cui 阅读(435) 评论(0) 推荐(0)

Batch - %~dp0 vs %cd%

摘要: 总结 %~dp0 只表示将要“运行的”bat命令的folder,不包含bat自己的名称。 %cd%表示,“运行处”的folder 。 示例脚本内容 cd-dp0.bat存放在f盘 在C:\Users\Administrator执行脚本 执行: 结果: 在F:\执行脚本 执行: 结果: 阅读全文

posted @ 2019-10-11 17:41 frank_cui 阅读(300) 评论(0) 推荐(0)

Batch - windows batch 常用命令(cheat sheet)

摘要: 原文地址:https://www.oschina.net/code/snippet_158297_4964 阅读全文

posted @ 2019-10-11 17:19 frank_cui 阅读(503) 评论(0) 推荐(0)

Batch - %~dp0 modifiers

摘要: %~dp0 简易解释 The variable %0 in a batch script is set to the name of the executing batch file. The ~dp special syntax between the % and the 0 basically 阅读全文

posted @ 2019-10-11 17:02 frank_cui 阅读(430) 评论(0) 推荐(0)

导航

levels of contents