Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to avoid hard-coding directories
Message
De
29/03/2001 08:07:14
 
 
À
29/03/2001 08:03:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00489789
Message ID:
00489790
Vues:
8
Instead of calling the .exe directly, call a .PIF - you can then specify directories and minimised etc.


>I have recently started to use INI files to configure some of my mini-apps. But one app in particular is being run overnight on an NT Server, but with a different start-up directory than the EXE (as the start-up dir cannot be specified from the scheduler). This resulted in my app not being able to find it's INI file.
>
>This problem cannot be sorted from the NT side, but can be sorted by me hard-coding in the directory+iniFileName into my app, but I was wondering if there was another way of tackling this without having to hard-code any directories.
>
>Any ideas?
>Thanks
>Kev
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform