Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to avoid hard-coding directories
Message
From
29/03/2001 08:07:14
 
 
To
29/03/2001 08:03:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00489789
Message ID:
00489790
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform