Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curdir()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00333991
Message ID:
00333994
Views:
25
SYS(5)+SYS(2003) or SYS(16,1) - both of these should do, I'm not 100% certain that both will be absolutely correct.

>To identify the start directory for my application I've been using
>sys(5) + curdir(). Throughout my testing this appeared to function exactly as I expected. I loaded the application on a client's pc and when we accessed the .exe from a desktop shortcut - curdir() did not return the directory name that contained the exe that the shortcut called. The client had several open windows and the curdir() would return the directory name of one of the open windows. If I double clicked on the executable from explorer, it did return the appropriate directory name. My client runs NT. I run windows 95 and I can't duplicate it on my pc...
>
>Am I missing something? Is there a better way to determine the starting directory for my application?
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform