Create folder based on file names
#3
PatK Wrote:I've used this one.... cut&paste it into notebook file and call it foldermaker.bat but it will make a folder of everything including itself and stick the files inside.

Test it out... in a 'test' folder with a few files...

@echo off
for %%a in (*.*) do (
md "%%~na" 2>nul
move "%%a" "%%~na"
)
pause

Cool thx i will give it a shot later.

But wait, it will create a new folder for each file? I need one folder and then like files to be placed in it...
Reply


Messages In This Thread
Create folder based on file names - by maw230 - 2011-07-18, 17:40
[No subject] - by PatK - 2011-07-18, 18:26
[No subject] - by maw230 - 2011-07-18, 18:27
[No subject] - by spiff - 2011-07-18, 18:41
[No subject] - by getafix - 2011-07-18, 20:19
[No subject] - by maw230 - 2011-07-18, 20:57
[No subject] - by getafix - 2011-07-18, 21:50
[No subject] - by maw230 - 2011-07-18, 21:58
Logout Mark Read Team Forum Stats Members Help
Create folder based on file names1