Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run appl EXE file from a different folder
Message
From
01/02/2021 11:11:39
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677980
Message ID:
01677981
Views:
75
VFP is sometimes ugly finding files

Any change with
cd d:\Customer1
do d:\Customer1\appl.exe
Try to play with SET PATH to.

check the return of
cd d:\Customer1
?FULLPATH('appl.exe')
?FILE('d:\Customer1\appl.exe')
?sys(2000,'d:\Customer1\appl.exe')
?sys(2000,'appl.exe')
Lutz


>Hi,
>
>My "standard" development environment is some folder d:\MyHome\ This is where if I execute the application from IDE it starts.
>
>Now I want to start the Appl.exe from a different folder (e.g. d:\Customer1). So, I copied the application file Appl.exe to this folder. Then I open VFP 9 IDE, change folder to d:\customer1 And then run command
>
>cd d:\Customer1
>do appl.exe
>
>But it still starts from the home directory (d:\MyHome).
>
>But for testing, I want the .EXE to start from the d:\customer1 folder so that I can see what the customer sees.
>
>What am I missing?
>
>TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform