>Can you set your default directory to a network server name? For example, "Set Default To //myserver/apps/myprog" I do this in VFP6 and when I set a variable to it, say lcMyProgDir, then run a command like "set defa to &lcMyProgDir" in my program, I receive an error "Invalid Path or FileName."
I believe you can - 2 caveats though:
1. I would try backslashes rather than forward slashes.
2. SET DEFAULT TO (lcMyProgDir) is better, because it will accept directory names with spaces in them. A straight macro expansion will blow up because the dir name will be treated as 2 or more separate words.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up