Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE() UNC
Message
De
20/05/2009 04:25:01
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
20/05/2009 04:08:03
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01400867
Message ID:
01400871
Vues:
139
This message has been marked as the solution to the initial question of the thread.
Hi Jon,

try SYS(2000) or ADIR()

File is a pain if something is in the path (try to reduce the path!! or inside the exe)

Agnes
>Apologies to all as the title wasnt meant to be in upper case, and I am definately not shouting in fact I'm very quiet!!
>
>Jon
>
>>Hi All,
>>
>>I have a problem where I am using the FILE command to check for a file within a specifc directory, so:
>>
>>IF FILE(p_instpath + "PPWIN.ICO")
>>
>>if it doesnt exist the program should just move on, but if it does exist then it needs to copy in a new version of the file.
>>
>>This works perfectly when using a mapped drive but if you use a UNC it causes an error because the FILE doesnt just searc the specific directory but searches through the search path and finds the old version of the file in the application directory and then things go wrong.
>>
>>Is there anyway I can force the FILE command to just check in the specific location, or any other alternative approach I could take.
>>
>>Any help appreciated.
>>
>>Thanks
>>
>>Jon
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform