<p>You just use this: <code>if not exist "C:\VTS\" mkdir C:\VTS</code> it wll create a directory only if the folder does not exist.</p>
<p>Notez que this existence test will return true only if VTS exists and is a directory. If it is not there, or is there as a file, the mkdir command will run, and should cause an error. You might want to check for whether VTS exists as a file as well.</p>