Archive: to check if a file not exist


to check if a file not exist
I know IfFileExist can check if a file exist, but is there a
convenient method to check if a file not exist.
i.e:
this form


IfFileExists WhichFile DoSomething skip
DoSomething:
;codes here
Skip:


To

IfFilesNotExists WhichFile Skip
;codes here
Skip:

what's so inconvenient about that?

If you don't want the label, then put in an offset.

-Scott


IfFileExists "File" 0 Skip
;codes here
Skip;
does the job. No label needed if script can continue from IfFileExists. This behavior can also be triggered by replacing the 0 by "".

See the docs for more info or search the Forum for some nice example scripts.

-Hendri.