Ellen:

Look into Win API for CreateDirectory Function

You can create directory from mapbasic.

Yas

 ----------
From:  owner-mapinfo-l
Sent:  Tuesday, March 9, 1999 12:30 PM
To:  MAPINFO-L
Subject:  MI mkdir From MapBasic 4.5

I'm am trying to make a directory from within Mapbasic.
I have tried the following from both WinNT4 and Win95:

run program "command.com /c mkdir c:\mapinfo\files"
and no directory is created in either case.

run program "command.com /c dir c:\mapinfo\ > c:temp\dirlist.txt"
only works properly in win95 and not NT.

Does run program not work in winNT?
Does anyone have a way to create a directory from MapBasic?

Thanks.

Ellen Cyran
Senior Programmer/Analyst
Levin College of Urban Affairs
Cleveland State University
[EMAIL PROTECTED]
 ----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to