Results 1 to 4 of 4
  1. #1
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Xcopy not working

    Hi Folks:
    I created a batch file to copy certain files to another drive & it was working fine. It had one line:

    XCopy "CataPhil DocsInfo to Read from the Internet*.*" "D:backups" /d /e /c /y

    and it still works. I added an additional line to copy another folder so that it read:

    XCopy "CataPhil DocsInfo to Read from the Internet*.*" "D:backups" /d /e /c /y
    XCopy "C:Program FilesSmartBoard2000clipdata*.*" "D:backups" /d /e /c /y

    However, the second line isn't working & I can't figure out why. I pasted the path, so I know it's correct. Any ideas?

    Thanks in advance.

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Xcopy not working

    <hr>the second line isn't working & I can't figure out why<hr>
    What is the line in batch file - paste it here so it's exact...?

    And what is the error or indication that it is not working? Any error text on the screen?
    -Mark

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Xcopy not working

    Hi Mark:
    The second line is:

    XCopy "C:Program FilesSmartBoard2000clipdata*.*" "D:backups" /d /e /c /y

    However, I am partly mistaken. It was copying the files. However, I thought it would be copying them to D:backupsclipdata

    Instead, it copied it to D:backups

    I thought it would copy it directly to the directory, using the same structure.

    1. Is there a way to have it copy the exact structure, or should I just use:

    XCopy "C:Program FilesSmartBoard2000clipdata*.*" "D:backupsclipdata" /d /e /c /y

    2. How do I get rid of my 326 or so files that I copied straight to D:backup? <img src=/S/blush.gif border=0 alt=blush width=15 height=15>

    Thanks for your help.

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Xcopy not working

    > Any ideas?

    You'll need to make changes. I have 10x2G partitions on one hard drive, 10x2G on another.

    Without the backup in place I see my (blue) drive mapped to latters as
    <pre><font face="Georgia"><font color=blue>CDEFGHIJKL</font face=georgia></font color=blue>
    </pre>


    With the (red) backup drive slid into place I see
    <pre><font face="Georgia"><font color=blue>C</font color=blue><font color=blue>D</font color=blue><font color=blue>E</font color=blue><font color=blue>F</font color=blue><font color=blue>G</font color=blue><font color=blue>H</font color=blue><font color=blue>I</font color=blue><font color=blue>J</font color=blue><font color=blue>K</font color=blue><font color=blue>L</font color=blue></font face=georgia>
    </pre>

    and
    <pre><font face="Georgia"><font color=red>C</font color=red><font color=red>D</font color=red><font color=red>E</font color=red><font color=red>F</font color=red><font color=red>G</font color=red><font color=red>H</font color=red><font color=red>I</font color=red><font color=red>J</font color=red><font color=red>K</font color=red><font color=red>L</font color=red></font face=georgia>
    </pre>

    mapped as
    <pre><font face="Georgia"><font color=blue>C</font color=blue><font color=red>C</font color=red><font color=blue>D</font color=blue><font color=blue>E</font color=blue><font color=blue>F</font color=blue><font color=blue>G</font color=blue><font color=blue>H</font color=blue><font color=blue>I</font color=blue><font color=blue>J</font color=blue><font color=blue>K</font color=blue><font color=blue>L</font color=blue><font color=red>D</font color=red><font color=red>E</font color=red><font color=red>F</font color=red><font color=red>G</font color=red><font color=red>H</font color=red><font color=red>I</font color=red><font color=red>J</font color=red><font color=red>K</font color=red><font color=red>L</font color=red></font face=georgia>

    <font face="Georgia">
    <font color=448800>CDEFGHIJKLMNOPQRSTUV</font face=georgia></font color=448800>
    </pre>



    <pre>REM 98XBack.Bat Christopher Greaves Tuesday, November 27, 2001

    if "

Posting Permissions

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