Bat file to move files onto a created subdirectory
Hi, I have a folder with video files, and I want to put each one into its own folder, like this:

Current:

c:\videos\movie1.avi
c:\videos\movie2.mpg

To:


c:\videos\movie1\movie1.avi
c:\videos\movie2\movie2.mpg

I.E. I want to create a subdirectory with the same filename (minus extension), and then move that file into that new folder.

So what have you done so far?

Try this at the command prompt for /? The perhaps if /? mkdir /?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.