Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working directory in a batchfile
Message
From
20/04/2005 04:09:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Working directory in a batchfile
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006458
Message ID:
01006458
Views:
51
Hi there,

Currently we are working on an application that is run in a batchfile. This batchfile is in a different directory than the executable. This means the workingdirectory of the app isn't right.

The application can be run in the .bat, using a shortcut (start_gen.lnk). The customer uses multiple applications in the batfile, so they want to use the exe in stead of the shortcut.

Is there a way in runtime to get the location of the executable? curdir()(returns the workingfolder, right?)

Thanks in advance,
Rob
Next
Reply
Map
View

Click here to load this message in the networking platform