Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory Confusion
Message
From
10/12/1998 12:23:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00166168
Message ID:
00166184
Views:
18
>>I have this code:
>>
>>lcGenFile = pcDataDir+"\tripsoft.krt"
>>lcNewGenFile = lcPath+"\tripsoft.krt"
>>COPY FILE (lcGenFile) TO (lcNewGenFile)
>>lcGenFile = pcDataDir+"\tripsoft.fxp"
>>lcNewGenFile = lcPath+"\tripsoft.fxp"
>>COPY FILE (lcGenFile) TO (lcNewGenFile)
>>
>>When it gets to the last line, it tells me it can't find "C:\Windows\Temp\tripsoft.fxp". Where's it getting that from?
>>
>>Thanks,
>>
>>-Michelle
>
>Can you trace the code through the debugger to watch the value of pcDataDir?

That's a good idea. It never occured to me that the value might be changing since they're is no code there to change it. But maybe something goofy is going on.

Oh, I forgot to mention: despite the error, the file copies just fine.

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform