Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Is there any kind of utility for what I need? [desperate]

Jan 5, 2015 4:09PM PST

Hey and thank you for reading.

I am in dire need of some help here. I need to somehow batch-create a multitude of folders, named after the files that need to go into them. I have thousands of files that were sent to me through my work in an archive that someone created and they had no clue what they were doing. They didn't add the files to a folder whatsoever. The files are individually named. I need to figure out some way to create a folder named for each single document.

Short of wasting weeks of my time, right-clicking, selecting "new folder", and typing my fingers raw and bloody, is there any way at all to automate this? I've been Googling like crazy and can't seem to find any tools (unless I don't know what to search for).

ANY help is appreciated very much! My job is kind of on the line for this too....the coworker that sent the archive has deleted the original, assuming that the one he sent me was sufficient.

Discussion is locked

- Collapse -
Answer
Re: utility
Jan 5, 2015 4:21PM PST

Someone who's experienced in vbscript (and the filesystemobject to use) writes the script in half an hour, assuming there's a simple rule to derive the folder name from the filename.
So your boss might appreciate the idea of hiring someone with the right experience for an hour or so.

Kees

- Collapse -
And ...
Jan 5, 2015 4:23PM PST

powershell might be a good tool also. It might be easier to find somebody knowing that than vbscript nowadays.

Kees