Become a supporter to remove this ad

User Tag List

Results 1 to 7 of 7

Thread: Batch Files

  1. #1
    -J-
    -J- is offline
    Member -J-'s Avatar
    Join Date
    May 2006
    Location
    Perth, Western Australia, Australia
    Liked
    5 times
    Posts
    3,888
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Wanna copy my current drive to my new drive

    wondering if someone knows a batch file or can write one for me

    have tiried a simple

    xcopy c:

    xpaste d:

    anyone who can help?

    cheers

    -J-
    'When one person suffers from a delusion, it is called insanity. When many people suffer from a delusion it is called Religion.' - Robert M. Pirsig




  2. #2
    Member Hired_goon's Avatar
    Join Date
    Dec 2005
    Location
    Kelmscott
    Motorbike
    XS 1100 x 2.5
    Liked
    0 times
    Posts
    1,299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wanna copy my current drive to my new drive

    wondering if someone knows a batch file or can write one for me

    have tiried a simple

    xcopy c:

    xpaste d:

    anyone who can help?

    cheers

    -J-[/b]
    xcopy c: d: /E

    basically copies from one to the other including all subdirectories.

    /s for all subdirectories except emty ones.
    To be old and wise you must first be young and stupid.

    Quote Originally Posted by PSB Forum Software
    Sorry, no matter how much you try, you can not ignore yourself.

  3. #3
    Admiral Ackbar Captain Starfish's Avatar
    Join Date
    Oct 2006
    Location
    SOR, near the airport
    Liked
    475 times
    Posts
    22,423

    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    <div class='quotetop'>QUOTE(-J- @ Apr 3 2007, 10:35 PM) [snapback]461605[/snapback]
    Wanna copy my current drive to my new drive

    wondering if someone knows a batch file or can write one for me

    have tiried a simple

    xcopy c:

    xpaste d:

    anyone who can help?

    cheers

    -J-[/b]
    xcopy c: d: /E

    basically copies from one to the other including all subdirectories.

    /s for all subdirectories except emty ones.
    [/b][/quote]

    Does that copy permissions as well?

    Or am I just being an ill-informed pain in the arse...
    Captain Starfish is currently pimping:
    Need your home theatre installed? MS Tech
    Looking for awesome walls in your house? Custom Walls
    Like scuba diving? UWA Underwater Club

  4. #4
    Member Hired_goon's Avatar
    Join Date
    Dec 2005
    Location
    Kelmscott
    Motorbike
    XS 1100 x 2.5
    Liked
    0 times
    Posts
    1,299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does that copy permissions as well?

    Or am I just being an ill-informed pain in the arse... [/b]
    Nope. try the /O switch for that. Depends on OS and network though.

    type xcopy /? in a cmd window for all the switches.
    To be old and wise you must first be young and stupid.

    Quote Originally Posted by PSB Forum Software
    Sorry, no matter how much you try, you can not ignore yourself.

  5. #5
    -J-
    -J- is offline
    Member -J-'s Avatar
    Join Date
    May 2006
    Location
    Perth, Western Australia, Australia
    Liked
    5 times
    Posts
    3,888
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    OS = XP Home
    'When one person suffers from a delusion, it is called insanity. When many people suffer from a delusion it is called Religion.' - Robert M. Pirsig




  6. #6
    Member Pkunk's Avatar
    Join Date
    May 2006
    Liked
    0 times
    Posts
    7,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    uh if you just want to copy the contents of a drive (new drive to old drive), why are you writing a batch file? (that implies you want it for a repeatable task).

    Why dont you open my computer, open the new drive. Open my computer again and click on the old drive. On the old drive select everything and push copy. Then point your mouse in the new drive and push paste.

    (there are quicker ways of doing this through the GUI, but i thought id provide the most simple description possible)

  7. #7
    Member TYSON's Avatar
    Join Date
    Apr 2004
    Location
    Sweatshop
    Motorbike
    Turbo Hayabusa, 06 GSXR 1K, 09 700 Raptor SE
    Liked
    0 times
    Posts
    10,823
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    totalcopy

    GUIFTW
    My Turbo Build

    Thanks to Sponsors:
    Motorcycle Panel & Paint
    Q-Zar Fremantle
    Rated-R Parts
    PerthStreetBikes.com and it's generous members
    Carlisle Printing - Deals for PSB members
    CIC - Competition & Industrial Coatings
    Carpet Liquidators - Midland

Bookmarks

Bookmarks

Posting Permissions

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

Content Relevant URLs by vBSEO 3.6.0