David,
< How do I check in advance if the WORD/EXCEL filename exists or not ?
If_it_does - LAUNCH would apply
If_not - Create New or ZIP START would apply. >
You could test in your code before doing what you need to do!
The only limit to this command is that where you store the files!
You must store in local folder or folders define by system path!
Example Code:
set var vfilename text = 'thefile.doc'
set var vtester text = (findfile(.vfilename))
if vtester is null then
--action taken if file not found
else
--action taken if file is found
endif
Name: FINDFILE
Syntax: FINDFILE(filename)
Family: Function
Category: File Management
Description: Returns the location of a file
Returns the location of a file. The function looks first in the current
directory and then searches the DOS PATH for the file. If the file is found,
the full pathname is returned, if it isn't found, a NULL is returned.
Wildcards in the filename will produce unpredictable results.
Best Regards,
Oma