K
Keith
I have a routine that uses the kill command to remove old versions of a
file before it creates a new version.
However if the routine is being run for the first time and the files it
has been asked to kill don't currently exist, I get an error message and
the rest of the script doesn't run.
How can I check to see if the files exist before running the kill command?
Anybody know?
Regards
Keith
file before it creates a new version.
However if the routine is being run for the first time and the files it
has been asked to kill don't currently exist, I get an error message and
the rest of the script doesn't run.
How can I check to see if the files exist before running the kill command?
Anybody know?
Regards
Keith