Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Possible duplicate of Batch move a folder's content up one level
    – LotPings
    Commented May 1, 2018 at 21:40
  • You can put it like this (*.*) , right?
    – DxTx
    Commented May 1, 2018 at 21:54
  • But there are also some .txt files in it which I don't want. :S
    – ttt
    Commented May 1, 2018 at 22:24
  • 1
    Use *.* and qualify the move statement: ... in (*.*) do if not %%~xx == .txt move ....
    – AFH
    Commented May 1, 2018 at 23:17