Search found 3 matches
- 13 Jan 2014 03:17
- Forum: DOS Batch Forum
- Topic: Creating folders based on File Name.
- Replies: 4
- Views: 1900
Re: Creating folders based on File Name.
Works perfectly. Thank you!!!
- 11 Jan 2014 05:15
- Forum: DOS Batch Forum
- Topic: Creating folders based on File Name.
- Replies: 4
- Views: 1900
Re: Creating folders based on File Name.
Outstanding that is exactly what i was looking to do. If i wanted to expand on this and add a sub folder called "XYZ" to each of these folders would it look like this?: @echo off set "name=%~n1" for /f "tokens=1,2,* delims=_" %%a in ("%name%") do ( md "%%...
- 11 Jan 2014 04:44
- Forum: DOS Batch Forum
- Topic: Creating folders based on File Name.
- Replies: 4
- Views: 1900
Creating folders based on File Name.
Hello All, I am a newbie min this realm but my objective is to create a series of folders based on a file name. For example: 1) User drags and drops file "1234_12345678_XXX-XXX.docx" 2) Batch files creates 4 folders named as follows "1234_12345678_XXX-XXX" "1234_12345678-A_X...