It might be a duplicate of this but I need a little revision: Creating a folder from first 5 characters of filename in a batch file
I don't need to select the first five letters of the file. I want the folder name to be exactly the same as the file name. And I want it to happen in the folder wherever the batchscript is located. So it must detect the current folder.
Any easy way to modify the original script?
EDIT: Actually not much modification is needed. However when it creates the folders it includes the file extension. Is there a way to remove the file extension?