Hi

The path to the file is always the same but the filename can vary.
Example:Path is always "H:\foldername\" and the filename is FILExx.cmd (where xx is random)
I want to run this file if it exist.

IF EXIST("H:\foldername\FILE*.cmd") ;Works ok
RUN "H:\foldername\FILE*.cmd" ;Can't run a file with an asterix (*) in the path
ENDIF

So how can I determine what the hole filename is?