Jobs & Education2 mins ago
Batch Files
I need to create a batch file which will do the following:
Open an Excel file
If the specified file isn't found, copy it from the default location: j:\excel to z::\excel - then open the file
If it does exist, the copy must not take place as I don't want data deleting from the z:\ file.
Can anyone help with code to do this, I've already copied it and opened the file, I'm not sure about checking if it exists though.
Ideally it should all be automated without any user involvement.
Thanks in advance!
Open an Excel file
If the specified file isn't found, copy it from the default location: j:\excel to z::\excel - then open the file
If it does exist, the copy must not take place as I don't want data deleting from the z:\ file.
Can anyone help with code to do this, I've already copied it and opened the file, I'm not sure about checking if it exists though.
Ideally it should all be automated without any user involvement.
Thanks in advance!
Answers
Best Answer
No best answer has yet been selected by tpreece01. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.