>I'd like to create a directory using a UNC (\\SERVERNAME\DIR1\DIR2), but using MD ("\\SERVERNAME\DIR1\DIR2") doesn't do that. It returns a "Invalid path or filename". I'm using VFP7.0
This works fine for me in VFP 7 (6, too, for that matter), so I expect there's a problem with the path. Perhaps a string variable has a space in it or an illegal character? Here's an example of what I tried, that worked:
MD ('\\MyServer\MySharedFolder\A New Folder')