General information
Category:
Coding, syntax & commands
>Is there any way to specify the working directory when using the
>run command? Working directory meaning that which you would
>specify in a windows shortcut as 'start in'.
>
>Thanks!
>Joe
Joe,
You could create a batch file and run the batch file from fox. For example,
mybatch.bat could contain the following:
cd \newdir
myprogram.exe
Or, any combination of dos commands to go where you want and do what you want. You could even use foxpro logic to create the batch file before fox runs it, although that might be a more complicated way to go.
Allen
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only