J
Joe M
How do I create a Dos batch file that checks for computer shares eg.
\\Computer\Data1 and \\Computer\Data2 folder. At any time only one of the
two shares is present. What I need is a batch file that checks for the
present shares.
If exist \\Computer\Data1
:begin
copy .....
:end
else
:begin
copy ...... \\Computer\Data2
:end
Does this do the check???
\\Computer\Data1 and \\Computer\Data2 folder. At any time only one of the
two shares is present. What I need is a batch file that checks for the
present shares.
If exist \\Computer\Data1
:begin
copy .....
:end
else
:begin
copy ...... \\Computer\Data2
:end
Does this do the check???