Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid path or file name
Message
From
04/08/2003 04:10:31
 
 
To
04/08/2003 00:53:14
Mike Sontillano
Travellers Life Assurance of the Philipp
Naga, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00816374
Message ID:
00816383
Views:
18
Hi Mike,

>
I got an error "Invalid path or file name when I used this command: "SET DEFA TO \\MYSERVER\MYPRG\".I put this command in my main program just to be able to work in network environment. I notice this error when I ran my program under Win XP and Win2000. This error occurs when the other computer is turn off.
>

That's the way it is in Win2000. You can maybe trap the situation using DIR():
IF DIR("\\MYSERVER\MYPRG\")
  SET DEFA TO "\\MYSERVER\MYPRG"
ELSE
  *****
ENDIF
HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform