标题:
[文件操作]
请问BAT脚本里面.\是什么意思?
[打印本页]
作者:
syh911231
时间:
2023-3-17 10:17
标题:
请问BAT脚本里面.\是什么意思?
因为没有搜索到,所以在这里请教一下各位大神
.\是什么意思呢,当前目录吗?
原语句是.\setup.exe /download config.xml
谢谢~
作者:
pd1
时间:
2023-3-17 10:24
是当前目录
作者:
syh911231
时间:
2023-3-17 10:57
回复
2#
pd1
请问跟%~dp0有什么区别吗
作者:
Batcher
时间:
2023-3-17 11:41
回复
3#
syh911231
可以亲自尝试一下,同样的效果:
setup.exe /download config.xml
.\setup.exe /download config.xml
%~dp0setup.exe /download config.xml
作者:
syh911231
时间:
2023-3-17 13:06
回复
4#
Batcher
好的,明白了,谢谢~
欢迎光临 批处理之家 (http://bbs.bathome.net/)
Powered by Discuz! 7.2