I have about 1000 files like:
_etc_sec _home_host_www_temp and etc. How to make batch files to make folder inside each other depending on it filenames and then put this file into it.
All files are on d:\ So if we have file named _etc_sec we must create folder named d:\etc then put file _etc_sec into file d:\etc
So if we have file named _home_host_www_temp we must create folder named d:\home then inside this folder create folder host and then inside folder host create folder www then put file _home_host_www_temp into file d:\home\host\www
I know how do that with VBA but batch cmd is to difficult for me. Thanks.
/in a file name. The / character is an alternative to the \ folder delimiter, though it is not always reliable in Windows.