|
-
Feb 13th, 2009, 11:54 AM
#1
Thread Starter
New Member
[RESOLVED] create sub dirs named for all files in parent dir ?
Hi,
What I want sounds like a simple task but I am drawing a blank. (Thing is, I have just enough vbs scripting experience to be dangerous.) Assistance would be appreciated.
I'd like a script that looks at a single folder and creates, within it, a set of new sub folders, one for each of the files that exist there.
I'd like all the new sub folders to be named for the files in the parent folder minus the extension.
So if the original dir of the parent folder is:
aud1.mp3
aud2.mp3
aud3.mp3
aud4.mp3
.
.
.
etc
then the folders created by the script should be named:
aud1
aud2
aud3
aud4
.
.
.
etc
and be in the original parent folder alongside the files.
(It would be good too if the script could ignore any pre existing folders in the parent directory if possible.)
Seems trivial but as I say I have drawn a blank, I hope I have been clear.
Thanks,
Brian H.
Toronto Ont
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|