Hızlı yanıt: kod örneği
Add the line:just after the line of the batch file. That will enable to create any intermediate directories.An excerpt of output from :
setlocal enableextensions
@echo off
mkdir
help mkdir
If Command Extensions are enabled MKDIR changes as follows:MKDIR creates any intermediate directories in the path, if needed.For example, assume \a does not exist then: mkdir \a\b\c\dis the same as: mkdir \a chdir \a mkdir b chdir b mkdir c chdir c mkdir dwhich is what you would have to type if extensions were disabled.