Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set directory
Message
From
29/06/2004 10:36:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00918450
Message ID:
00918468
Views:
7
>i have been going through the VFP directory related commands i seem to be missing one. say a user create a folder c:\xyz and puts my vfp 8 .exe file in that folder. the first thing i want to do in the .exe is set the current directory to that directory. how do i do that when i have no idea what the name of the directory is?
>
>thanks,
>
>nancy

Many ways. ie:
set default to (justpath(Application.ServerName))

If users simply create a shortcut from it or directly dblclick it you dont even need to have a line. Then it'd be the default already.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform