To Nick - 

Use the CreateDirectory Win Api function. 

Ex:

+++++++++++
Type SECURITY_ATTRIBUTES
    nLength As Integer
    lpSecurityDescriptor As Integer
    bInheritHandle As Integer
End Type

Declare Function CreateDirectory Lib "kernel32" Alias "CreateDirectoryA" (ByVal 
lpPathName As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As integer

Declare Sub Main

Sub Main
 
  Dim Sec as SECURITY_ATTRIBUTES, l as integer, sDir as String

  sDir = "c:\newdir"
  l = CreateDirectory (sDir, Sec)

End Sub
+++++++++++

Regards 

Bo Thomsen
GeoConsult I/S
Denmark



-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED]
Sendt: 15. december 2005 00:15
Til: [email protected]
Emne: [MI-L] make a directory


One very useful command would be the command to make a directory.

Currently I have to;
1) write a batch file containing the command to make a directory
2) execute the batch file
3) delete the batch file again

nick


************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or Maritime Safety Queensland, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to