Client Exists

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

Client Exists

Post 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?
John Bowman
Gabriel
Posts: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Re: Client Exists

Post 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
Post Reply