Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem copying and deleting files
Message
From
03/12/2002 09:14:20
 
 
To
03/12/2002 05:49:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728917
Message ID:
00728972
Views:
10
How about this for an "explanation" then...

...the syntax error is not being caught by most (2) but is by 1, so the likelihood is that one is using a different version or SP level than the other two.

Your original wasn't clear as to which line it was failing on, but there being a syntax problem in one (the second) suggests that it is that line that causes the problem.

It would be wise to fix any syntax error regardless of other circumstances.

good luck


>Hi Vladimir,
>
>Thanks for the suggestion, but that doesn't explain why only one workstation has the problem - ALL others work OK with the existing syntax.
>
>Regards
>Doug Johnston
>
>
>
>
>
>>>Hi,
>>>
>>>I have a client running WIN98 peer to peer(3) and VFP6 SP3. All exe's etc
>>>reside on workstation & data only on server.
>>>One workstation only (not server) has a problem when it reaches a 2 lines of code...
>>> COPY FILE File1 TO File2
>>>or
>>> DELETE FILE('FILE.EXT')
>>>...giving the above error (Command contains unrecognised Phrase/Keyword).
>>>
>>>COPY FILE is copying 1 file on the server to another file on the server.
>>>DELETE FILE is deleting a temp file on the workstation.
>>>
>>>No other workstations at this site or other sites have experienced this problem.
>>>
>>>They have downloaded the latest virus definition file and thoroughly checked for viruses - NONE.
>>>
>>>Anyone have any ideas?
>>>
>>>Regards
>>>Doug Johnston
>> DELETE FILE('FILE.EXT')-s mistake
>> DELETE FILE 'FILE.EXT'
>>or fln='FILE.EXT'
>> DELETE FILE(fln)
Previous
Reply
Map
View

Click here to load this message in the networking platform