+ Post New Thread
Results 1 to 5 of 5
Windows Thread, Stupid Question Time in Technical; Ive forgotten how you move folders with contents to another folder using .bat. Basically ive got c:\folder1 with contents and ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,991
    Thank Post
    287
    Thanked 281 Times in 195 Posts
    Rep Power
    117

    Stupid Question Time

    Ive forgotten how you move folders with contents to another folder using .bat.

    Basically ive got c:\folder1 with contents and want to move folder1 and contents into c:\folder2 so it looks like c:\folder2\folder1.

    Can someone remind me how to do it.

    Ta

  2. #2

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    Xcopy possibly ?

  3. #3
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    467
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    yeh xcopy is what your after - http://www.computerhope.com/xcopyhlp.htm

    or xcopy /?

    Cheers
    Jona

  4. #4
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,432
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Or perhaps even the move command?

    Test1
    Test2


    move Test1 Test2\

    Ends up with

    Test2\Test1

    Probably best to use the full paths though so it doesn't matter about where the script is run from.

  5. #5
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    467
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    *Can't read* if you want to move then funily enough move is probably the best command to use: http://www.computerhope.com/movehlp.htm or cmd > move /?

    Alternatively there is this which looks intresting: http://www.softlookup.com/download.asp?id=25019

    Cheers
    Jona

SHARE:
+ Post New Thread

Similar Threads

  1. Stupid Dual Monitor Question
    By mattx in forum Windows
    Replies: 18
    Last Post: 16th November 2007, 02:59 PM
  2. VBS File takes long time to load 1st time?
    By Samson in forum Scripts
    Replies: 3
    Last Post: 4th September 2007, 07:40 AM
  3. Odd question time...
    By dave.81 in forum General Chat
    Replies: 22
    Last Post: 1st September 2007, 01:09 AM
  4. Really Dumb Question Time
    By richard in forum Wireless Networks
    Replies: 15
    Last Post: 4th August 2006, 12:47 PM
  5. Stupid Linux question
    By NetworkGeezer in forum *nix
    Replies: 10
    Last Post: 25th April 2006, 03:01 PM

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
  •