Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set directory
Message
De
29/06/2004 10:36:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00918450
Message ID:
00918468
Vues:
6
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform