+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Copy Script in Coding and Web Development; Can anyone tell me what i'm doing wrong. I simply want to copy a file from a sever to another ...
  1. #1
    BJC
    BJC is offline

    Join Date
    Dec 2009
    Location
    West Mids
    Posts
    39
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Copy Script

    Can anyone tell me what i'm doing wrong.


    I simply want to copy a file from a sever to another computer.

    I created a batch file that i could schedule to run. This is what it contains.

    copy j:\testing.txt v:\CC3 Server 1

    It seems to run but does nothing. What am i doing stupid?

    J: is an external hard drive on the server
    V: is a mapped drive to an external hard drive on my computer


    The server is windows 2003
    Computer is XP

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,136
    Thank Post
    215
    Thanked 1,258 Times in 789 Posts
    Blog Entries
    4
    Rep Power
    507
    do you need a trailing slash on the folder name?

    I forget...

  3. #3
    ashley__'s Avatar
    Join Date
    Jun 2009
    Location
    Stourport
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    This is one I use also in a batch file ^_^

    xcopy /Z "\\shs-sr-003\h$\My Virtual Machines\AH\ASH-PB Clean UPDATED-15-07-08" "C:\VPC\Clean"

  4. #4
    BJC
    BJC is offline

    Join Date
    Dec 2009
    Location
    West Mids
    Posts
    39
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I've tried both and it still doesn't work.

    I did need the quotes when i tried it on my xp machine

SHARE:
+ Post New Thread

Similar Threads

  1. Script to copy folder
    By cookie_monster in forum Windows
    Replies: 5
    Last Post: 7th October 2009, 10:52 AM
  2. need a script to copy a folder with shortcuts
    By jamin100 in forum Scripts
    Replies: 1
    Last Post: 4th September 2008, 07:38 PM
  3. VBS Script to copy a folder
    By FN-GM in forum Scripts
    Replies: 2
    Last Post: 23rd February 2008, 01:08 PM
  4. VB Script ti check for folder and then copy contents to PC
    By tosca925 in forum How do you do....it?
    Replies: 4
    Last Post: 2nd October 2006, 08:15 PM
  5. script to copy files to machines
    By browolf in forum Scripts
    Replies: 1
    Last Post: 28th November 2005, 10:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •