Sam
Why specifically a DOS command?
Surely it would easier to use some VBScript or JScript?
If you wanted a DOS call you would have to use one of the scripting
languages anyway
Just off the top of my head i'd do something like this in VBS
dim MyFileSystem , MyNewfolder, MyNewFolderPath
MyNewFolderPath = "c:\InfoPath\myfolder"
Set MyFileSystem = CreateObject("Scripting.FileSystemObject")
If Not MyFileSystem .FolderExists(MyNewFolderPath ) Then
Set MyNewfolder= MyFileSystem .CreateFolder(MyNewFolderPath )
End If
Andy
> Hi All,
>
[quoted text clipped - 3 lines]
> I want it to execute this DOS command below:
> mkdir c:\Marketing\'infopath data field value'