Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run appl EXE file from a different folder
Message
 
 
To
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:
01677982
Views:
60
Thank you, Lutz. I will try your suggestions.

>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform