开发者

How to create a bat file for create one folder in my machine?

I want to create one bat file for create one folder in my machine. I created like thi开发者_如何学Pythons but its not woking.


    @echo off
    "mkdir D:/PHP_Projects/myproject/Release/testfolder";

Any body can help me

Thanks


Just remove quotes and semicolon, and use backslash, not slash as path separator:

@echo off
mkdir D:\PHP_Projects\testprojects\Release\testfolder


Windows uses backslash as path separator. Also, you don't need the quotes and semicolon.

mkdir D:/PHP_Projects/myproject/Release/testfolder


You can just use md like this:

md D:\PHP_Projects\myproject\Release\testfolder

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜