Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6: Error running EXE
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00590069
Message ID:
00590105
Views:
21
>I have a very simple program that copies some files from a CD to the hard drive. I have compiled it into a EXE and I am getting an error with the message being: DO D:\mydir\myexe.exe. I only get the error when I try to run the EXE on the CD. If I copy it to the C: drive then it works. I added a CONFIG.FPW with a RESOURCE = OFF and I still get the error. Any ideas? TIA!

You haven't specified a temporary directory, so VFP is trying to use the Startup directory on the CD for it's temporary files. Try pointing TMPFILES to a local hard drive location (while you can be reasonably sure that C:\ will exist, it's not safe or smart to use the root of a drive, which can only support a limited number of file entries in some file systems) - perhaps your setup can ensure that a C:\MYTEMP always will exist, and then add the entry

TMPFILES=C:\MYTEMP\

to the CONFIG.FPW
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform