Script (any language or even powershell) to run a certain set of commands.

multiband8303

Senior member
Aug 8, 2005
593
0
0
In a very very short nutshell, I have a shared network drive to my clients that is composed of over 120 Main folders, each of those main folders have about 18 child objects, and *SOME* of those child objects have 7 sub folders.

What I need to do is create a folder for all of these guys are in only the locations where another folder exists, and I want it to be the side of it. So for example

Main Folder - Parent Folder - Child Folder - Sub Child Folder (named "xyz)

Wherever xyz is I want a new folder called abc, sitting underneath "child folder" and to the "side" of XYZ.

How would I do this?
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,631
4,559
75
I've been doing a little Python directory work lately, and it reminded me of what I've done before. Here's a recipe for walking a directory tree. Your description is a little too short for me to be sure about it, but maybe some modification of that with os.mkdir() will work for you?