"JWirt" <(E-Mail Removed)> wrote in message
news:BAC26141-452F-410D-BAD0-(E-Mail Removed)...
>I want to copy a file to another computer on my local network with a batch
> command. I wrote this statement in the command file:
>
> if not exist \\192.168.1.102\g:\Lotus\work\AAccounts.APR goto :end
>
> When I run the command file, I get an error message that the "drive not
> found."
>
> ":end" is a label in the batch file.
>
> The machine at 192.168.1.102 is accessible from my machine using Explorer.
>
> Should the drive letter have a "$" sign after it, as in g$? Doesn't help.
>
> Thanks.
>
> John Wirt
Let's have a look at the whole batch file, not just a single line.
|