Create a directory.
Syntax Dir path Key path The directory to create.
Any higher-level directories must already exist or MkDir will fail.
'Create only if the folder does not already exist:
If Len(Dir("C:\demo\folder", vbDirectory)) = 0 Then MkDir "C:\demo\folder"
“Is not the whole world a vast house of assignation of which the filing system has been lost?” ~ Quentin Crisp
Dir - List directory
© Copyright SS64.com 1999-2013
Some rights reserved