Help with copy cmd - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Help with copy cmd

JoeM44JoeM44 Posts: 3Member
I would like to copy all .jpg files from all directories on my c: and copy to my g:/pics directory. Is this also possible with the move cmd? Can someone supply the syntax for this? I've had no success so far.

Much appreciated!

Comments

  • booshboosh Posts: 4Member
    Hi
    If you use windows7..

    open explorer window to drive/folder with the images (in your case, c:)
    hold ctrl-F ( Control & F key at same time ) this is 'find' command
    type *.jpg (I find all .jpg files)
    wait some time ( could take a while )
    window will populate with all .jpg files
    select all files in window ( ctrl-a, or use origanise->select all )
    open another explorer window and navigate to destination ( g:pix was it? )
    hit ctrl-v ( or right click in window & choose 'paste' )

    copy will happen
    if you have files of the same name it will complain.







  • booshboosh Posts: 4Member
    Hi
    If you use windows7..

    open explorer window to drive/folder with the images (in your case, c:)
    hold ctrl-F ( Control & F key at same time ) this is 'find' command
    type *.jpg (I find all .jpg files)
    wait some time ( could take a while )
    window will populate with all .jpg files
    select all files in window ( ctrl-a, or use origanise->select all )
    open another explorer window and navigate to destination ( g:pix was it? )
    hit ctrl-v ( or right click in window & choose 'paste' )

    copy will happen
    if you have files of the same name it will complain.







  • booshboosh Posts: 4Member
    Hi
    If you use windows7..

    open explorer window to drive/folder with the images (in your case, c:)
    hold ctrl-F ( Control & F key at same time ) this is 'find' command
    type *.jpg (I find all .jpg files)
    wait some time ( could take a while )
    window will populate with all .jpg files
    select all files in window ( ctrl-a, or use origanise->select all )
    open another explorer window and navigate to destination ( g:pix was it? )
    hit ctrl-v ( or right click in window & choose 'paste' )

    copy will happen
    if you have files of the same name it will complain.






  • JoeM44JoeM44 Posts: 3Member
    Hi. I know how to do in windows but this doesn't work with the number of files that I have. I can only select a group of files at at time. In DOS I should be able to do all at once if I have the proper DOS syntax.
    Thanks anyways.
  • booshboosh Posts: 4Member
    I'm not sure why you can only select a few at a time. ctrl-a will select all in the window.

    Anyway, a dos recursive copy of jpg files would be...
    xcopy c:pictures*.jpg g:destpictures /s

    where c:pictures is your source directory. And g:destpictures is your destination.

    type xcopy /? for information about xcopy

Sign In or Register to comment.