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
精彩评论