batch file move across network

Discussion in 'Windows Networking' started by Bob Padgett, Oct 30, 2003.

  1. Bob Padgett

    Bob Padgett Guest

    I want to setup a batch file to copy a file from my
    desktop to my laptop over a wireless network. How do I
    setup the parameters to address the network definition for
    my laptop?

    copy C:\WINDOWS\Applic~1\SpamBa~1\*.db \\Laptop\Mydocu~1
    \MyShar~1\*.db

    is the command that doesn't seem to work....
     
    Bob Padgett, Oct 30, 2003
    #1
    1. Advertisements

  2. Bob Padgett

    Scott Zotigh Guest

    Assuming your laptop machine name is "Laptop" and the
    folder being shared is shared as "Stuff", then the command
    to copy would be:

    xcopy C:\WINDOWS\Applic~1\SpamBa~1\*.db \\Laptop\Stuff

    (your destination is not the actual folder name "My Share"
    or whatever...it's the name you are sharing the folder as,
    or 'share name')
     
    Scott Zotigh, Oct 30, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.