Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PATH question
Message
From
19/10/1999 05:53:40
 
 
To
19/10/1999 04:56:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00278028
Message ID:
00278033
Views:
18
>Hello
>I install program to
>"PROGRAM FILES\MY COMPANY\MY APP 2.0\" folder..
>I save this path in registry... and when program run in main prg restore path.. but
>
>SET PATH TO "PROGRAM FILES\MY COMPANY\MY APP 2.0\DBF";"PROGRAM FILES\MY COMPANY\MY APP 2.0\TEMP"
>
>not work ! SET("PATH") return only first path to DBF folder..
>How can I make that?
>Thank you.
>Denis

Hi Dennis,

SET PATH probably thinks ; is end of line if you have a "C:\..." before.

This works (no double quotes):
SET PATH TO PROGRAM FILES\MY COMPANY\MY APP 2.0\DBF;PROGRAM FILES\MY COMPANY\MY APP 2.0\TEMP

and this works (only double qoutes around the whole path):
SET PATH TO "PROGRAM FILES\MY COMPANY\MY APP 2.0\DBF;PROGRAM FILES\MY COMPANY\MY APP 2.0\TEMP"
Magnus Nordin
VFP MCP

"We have tested the GUI on 5-year olds. Why? Beacuse they aren't braindead!"
Michael Spindler, Apple

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform