McKirahan
Fri Feb 01 09:20:05 CST 2008
<desmond.mcalister@googlemail.com> wrote in message
news:d83d405b-e9ab-47d0-a8f3-dc498fe97a13@i72g2000hsd.googlegroups.com...
> Hi
>
> Sorry for being vague. I dont know if you have heard of a solution
> called Introspect but that it what it is related to.
>
> I have a Server which I log onto. A user will request that we create a
> new folder structure on the F: Drive of the Server. Within the F:
> Drive there is a folder called ZANTAZ. Within the ZANTAZ folder there
> are two folder called Retail Repositories and Wholesale Repositories.
> Within the Retail Repositories folder there are many folders which are
> named RE00xxx (xxx being numbers). Within each of these folders there
> are 3 sub folders called RE00XXX_Images, RE00XXX_Text,
> RE00XXX_Versions. Within the Wholsale Repositories folder there are
> many folders which are named WS00xxx (xxx being numbers). Within each
> of these folders there are 3 sub folders called WS00XXX_Images,
> WS00XXX_Text, WS00XXX_Versions.
>
> The user will request us to create what we call a new clone on the
> system. To do this we first ask whether it is a Retail or Wholsale
> Clone. Once we have the answer to this question I would copy the last
> folder created within the Wholsale Repositories or Retail Repositories
> (either WS00XXX or RE00XXX) So it will be the folder with the highest
> XXX number. The new folder will have an XXX value of XXX + 1. So say
> the user wants a Retail Clone and the latest folder is called RE00204
> then I want to create a new folder called RE00205 and the 3 sub
> folders should be called RE00205_Images, RE00205_Text,
> RE00205_Versions. The RE00204_Images etc... folders do not contain any
> files. Ideally I would like the script to create the folder from new
> rather than copy but it really does not matter as long as it gets the
> job done. Finally I have to copy the names of the 3 sub folders into a
> 3rd party application so it would be nice to have these 3 names inb a
> file which I could copy and paste from.
>
> Hope this makes more sense.
>
> Overall I would like to have a scrfipt to automate all this for me.
Thanks for the detailed requirements; it really helps.
Google found:
http://www.zantaz.com/introspect-product-family/
"folders do not contain any files" -- why is that; what's their purpose?
So this folder structure already exists:
F:\ZANTAZ\
F:\ZANTAZ\Retail Repositories\
F:\ZANTAZ\Wholesale Repositories\
And, on request, either this structure will be created:
F:\ZANTAZ\Retail Repositories\RE00xxx
F:\ZANTAZ\Retail Repositories\RE00xxx\RE00xxx_Images\
F:\ZANTAZ\Retail Repositories\RE00xxx\RE00xxx_Text\
F:\ZANTAZ\Retail Repositories\RE00xxx\RE00xxx_Versions\
or this structure will be created:
F:\ZANTAZ\Wholesale Repositories\WS00xxx\
F:\ZANTAZ\Wholesale Repositories\WS00xxx\WS00xxx_Images\
F:\ZANTAZ\Wholesale Repositories\WS00xxx\WS00xxx_Text\
F:\ZANTAZ\Wholesale Repositories\WS00xxx\WS00xxx_Versions\
where "xxx" is a 3-digit number; sequentially assigned.
(Or "00xxx" is a 5-digit number; sequentially assigned.)
A couple of questions while I consider an approach:
1) Would it be okay to have a control file?
For example,
F:\ZANTAZ\ZANTZ.txt
could contain the following:
[Retail Repositories]
RE00001,2008-01-30,Joe
RE00002,2008-01-31,Steve
RE00003,2008-02-01,Mary
[Wholesale Repositories]
WS00001,2008-02-01,Bill
Thus, "RE00004" or "WS00002" would be the next subfolder.
As seen above, the file could also identify when the
new structure was created and by whom.
2) Would the use of an HTA (HTML Application) be acceptable?
Basically, it's a VBScript file with a browser interface.
Please use "Reply To" so I can associate your reply with my post.
Other's may want to contribute and they shouldn't have to open
multiple posts (if they even have them available) to understand us.