General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only