Search found 1 match
- 05 Sep 2017 06:31
- Forum: DOS Batch Forum
- Topic: Create a folder based on part of the name of the file and move the related files in it
- Replies: 1
- Views: 1585
Create a folder based on part of the name of the file and move the related files in it
Hi, I've found this script but is not doing what i want. So far this script is running only in the folder where it is. I want to point the folder that I want to process...don't know if it's clear? @echo off SUBST C:\ set "basename=." for /F "tokens=1* delims=." %%a in ('dir /B /A...