Home
Sign Up
Sign In
V2EX
›
问与答
win10 下,一个 bat 脚本,判断是否存在某个目录,存在就打开,否则就创建后打开
qweweretrt515
·
Sep 27, 2016
· 2064 views
This topic created in 3713 days ago, the information mentioned may be changed or developed.
该怎么写呢
弄了半天都弄不好
win10
bat
打开
脚本
2 replies
•
2016-09-27 12:54:21 +08:00
got
Sep 27, 2016
2
1
mkdir foo & start "" foo
aprikyblue
Sep 27, 2016 via Android
1
2
set p=d:\folder
if not exist %p% (
md %p%
)
explorer.exe %p%
未测试
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2146 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 14:18
·
PVG 22:18
·
LAX 06:18
·
JFK 09:18
♥ Do have faith in what you're doing.
❯