how do I... - Programmers Heaven

Howdy, Stranger!

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

Categories

how do I...

How do I sort files that are currently in 1 dir under the naming convention 1-001 2-0001 3-001, 1-002 2-002 3-002 etc.

There must be a dos command sequence to search and sort the files so they can be sorted and moved to a new dir.

win2k o/s

can anyone assist?

Thank you

[email protected]

Comments

  • tom_swtom_sw Posts: 828Member
    : How do I sort files that are currently in 1 dir under the naming convention 1-001 2-0001 3-001, 1-002 2-002 3-002 etc.
    :
    : There must be a dos command sequence to search and sort the files so they can be sorted and moved to a new dir.
    :
    : win2k o/s
    :
    : can anyone assist?
    :
    : Thank you
    :
    : [email protected]
    :
    You mean like this?

    makedir 1
    copy 1-* 1
    del 1-*


Sign In or Register to comment.