Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot create file FXP
Message
From
31/01/2001 13:53:25
 
 
To
30/01/2001 18:46:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00470411
Message ID:
00470818
Views:
28
>I wonder why this is not working.
>I want one program to call another.
>So at the beginning of the first one I have:
>
>SET DEFAULT TO c:\myDefault
>SET PATH TO .\PROG, .\DATA, .\REPORTS, \ETC
>
>I have no problem finding, for example, my reports, but when I do:
>
>DO nextProg.prg WITH var1, var2
>
>I have an error: “Cannot create file c:\myDefault\prog\nextProg.FXP”
>Obviously it means what it says, but why this doesn’t work or what is the right way to call the program without using the full path?

Either the existing .FXP is flagged read-only, or you don't have write permissions in the target directgory. Remove the read-only flag and check your permissions in the folder.
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