Hi,
I have a simple problem (to most experts)
I have an existing script that I need to modify.
Basicilly, I want the script to check if a file exists (c:\windows\tools\filename.exe) and if it doesnt to copy the file from a location on the server to that location.
If the file does exist I just want the script to move onto the next line.
The next line of the script is to execute this file so the file needs to be on the machine.
Any ideas?
Kippy
***************************************
Looking for the best answers:
faq222-2244
Keeping your system clear of malware:
faq608-4650
***********************************
Dont forget to post back with the eventual resolution.
***************************************
I have a simple problem (to most experts)
I have an existing script that I need to modify.
Basicilly, I want the script to check if a file exists (c:\windows\tools\filename.exe) and if it doesnt to copy the file from a location on the server to that location.
If the file does exist I just want the script to move onto the next line.
The next line of the script is to execute this file so the file needs to be on the machine.
Any ideas?
Kippy
***************************************
Looking for the best answers:
faq222-2244
Keeping your system clear of malware:
faq608-4650
***********************************
Dont forget to post back with the eventual resolution.
***************************************