Page 1 of 1

Client Exists

Posted: Mon Mar 07, 2016 2:42 pm
by John
On the brwiki under client/server is says "Client Exists() is now supported." but it doesn't say how to do an exists(whatever) to see if it does exist on the client. Does anyone know how?

Re: Client Exists

Posted: Mon Mar 07, 2016 2:55 pm
by Gabriel
In order to specify a file on the client you put @: in front of it.

The following code is valid:

Code: Select all

IF EXISTS("@:D:\SomeFolder\SomeFile.txt") then print "This will return true if somefile.txt exists on the clients d drive under SomeFolder."
Gabriel