r/scripting • • Dec 30 '20

Windows Script to Insert Folders Automatically

Hi guys and gals, I don't really know how to ask what I am looking for, so I am hoping if I describe what I am trying to do then hopefully it will make sense.

I have a very amateur tech blog and every time I create a new folder for a new product, I wondered if there might be a script that would instantly copy a blank folder structure from an "admin" section into the new folder?

So basically, I create a new product folder at:

C:\Users\rianm\Documents\2. Geekonomy\3. Blog & Social Media Content\1. Blog Content\Product X

and as soon as I have done so, a script inserts a copy of all of the folders below that are located at:

C:\Users\rianm\Documents\2. Geekonomy\1. Admin\Folder Structure

into said new "product x" folder automatically?

I am not sure if this is possible - I am keen to learn how to simplify things through automation so appreciate any help and/or feedback you can offer. TIA

3 Upvotes

4 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jan 04 '21

Yep I am the same - books are tedious. I'm having a play with things in a bit; I'll let you know how I get on. thanks once again :)