Wednesday, April 17, 2019

windows - Create new directory with batch file (MKDIR not working)?

I tried using at first a combination of xcopy and del, but del kept failing.


xcopy creates directory if it doesn't yet exist.


The other option is to use MKDIR but it does not work inside a batch file?


MKDIR "C:\stuff"

Any ideas why this is not working inside .bat/.cmd file??


It works fine from a command prompt.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...