How do I create folder (and any subfolders) in batch script? But the important thing is that, if the folder (or any subfolders) already exists, it should not return error.
For example, something like this:
mkdir mydir- success(directory is now created)mkdir mydir\subdir- success(nowmydircontainssubdir)mkdir mydir- success(folder already exists, should not throw an error)mkdir mydir\subdir- success(folders already exists, should not throw an error)
What I actually need is just to ensure that the folder structure exists.