Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Open mutiple files.

  • 01-11-2011 3:53pm
    #1
    Registered Users, Registered Users 2 Posts: 1,135 ✭✭✭


    HI guys,
    Quick question.I have 60 to 70 movies on mp pc all in individual folders.I just want to copy the files to a external harddrive.Is there a way to open all the folders showing their contents in one list or will i have to open them all individually and copy the file???
    Thanks
    Red


Comments

  • Registered Users, Registered Users 2 Posts: 558 ✭✭✭wobbles-grogan


    You could probably write a fancy .bat script to do all the copying for you, but I dont know the ins and outs of it...

    I could probably do it in a linux shell script after a little hacking but not a clue in windows!

    Your using windows right?


  • Registered Users, Registered Users 2 Posts: 4,874 ✭✭✭shootermacg


    Haven't tested this:
    (I've tested this and it's fine, copies all files in sub directories to a flat directory which I think is what you want.)

    save this in a text file rename it ie: runme.bat
    double click.
    for /R c:\source %%A in (*.txt) do copy %%A c:\destination\
    pause
    
    

    from:
    c:\source

    To:
    x:\destination\

    Change the file extension to any uou want:
    (*.xml) for xml
    (*.*) for all files

    Alternatively just do a windows search in the top directory for whatever file type and copy those from the results.


  • Registered Users, Registered Users 2 Posts: 1,112 ✭✭✭Dacelonid


    Do you want to copy the entire folder structure or just pick individual files.
    For individual files, assuming you are using Windows Vista or & you can just type * into the search filter (text box at the top right hand side of the window) and it will show all the files. (you can use *.mov or *.mpg or *.avi to specify different movie types) and then just copy them from there to your external harddrive

    If you are copying the entire folder structure, just copy the parent folder to your external hadrdrive


  • Registered Users, Registered Users 2 Posts: 558 ✭✭✭wobbles-grogan


    That script looks good.

    As you said you want to move them to an external drive, change the c:\ in "c:\destination\"

    to the drive letter assigned to your external... Its probably D or F...

    Also, does the script end after "pause" ? (im just asking cos im curious and have no clue of bat scripting)


  • Registered Users, Registered Users 2 Posts: 558 ✭✭✭wobbles-grogan


    Dacelonid wrote: »
    Do you want to copy the entire folder structure or just pick individual files.
    For individual files, assuming you are using Windows Vista or & you can just type * into the search filter (text box at the top right hand side of the window) and it will show all the files. (you can use *.mov or *.mpg or *.avi to specify different movie types) and then just copy them from there to your external harddrive

    If you are copying the entire folder structure, just copy the parent folder to your external hadrdrive

    Wow, i was way over complicating this problem. How did i not see the easy solution?!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,874 ✭✭✭shootermacg


    That script looks good.

    As you said you want to move them to an external drive, change the c:\ in "c:\destination\"

    to the drive letter assigned to your external... Its probably D or F...

    Also, does the script end after "pause" ? (im just asking cos im curious and have no clue of bat scripting)

    yeah, drives are just network locations in the grand scheme, as long as the user running the script has permissions they can copy it whereever they want.

    pause is just to leave the screen up for you to see what went on.

    I do believe I also gave the simple windows search option, instead of * use the file extension.#


  • Registered Users, Registered Users 2 Posts: 28,789 ✭✭✭✭ScumLord


    If your using windows 7 just go to the folder that contains all the video folders and do a search for video files and copy them from there.


  • Registered Users, Registered Users 2 Posts: 1,135 ✭✭✭Redriddick


    Thanks a miilion for all the suggestions.I did a search for avi files and that did the job.
    Thanks again and hopefully i will be able to return the favour at some stage.


Advertisement