1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

.Bat file to copy folder from network to local pc

Discussion in 'Software Development' started by semajjames, Nov 14, 2015.

Thread Status:
Not open for further replies.
  1. semajjames

    semajjames Thread Starter

    Joined:
    Nov 27, 2009
    Messages:
    137
    I am trying to use this .bat file to copy folder "X" from a pc on my network to folder "Y" on the local pc
    but it does not work ??

    echo off
    cls

    echo Would you like to do a backup X ?

    pause

    robocopy "\\***.***.*.*\C:\X" "C:\Y"

    pause
     
  2. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,783
    Obfuscating the IP address is pretty pointless. Your lan is using private IP addresses that are not routable to the Internet.

    Regardless of that, it looks like you are trying to access the administrative share of the server. Administrative shares are accessed using a dollar sign.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1160403

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice