Parsing multiple text files

A

Andy Brown

I have a small problem I hope someone can help me with, I have a
folder of folders created thus :-

d:\users\intake03\
03foo000e
03bar001e
03foobar573e

The 03 is the year the user started at the school, surname bit is self
explanatory and the 000e part is a number assigned to the user. I can
create the folders, share and set permissions, and are created from a
text file where each entry is line by line. However the same user but
with a different username in the format

03surnameFirstinitial

03foob and 03foo000e would need to access the folder 03foo000e
03barf and 03bar001e would need to access 03bar001e
03foobar 03foobar573e would need to access 03foobar573e

I hope someone can grasp what I am trying to do.
 
C

chello

Andy,

Please explane a litte more

Where do you get the FirstInital from?
Do you mean you want 1 folder 03foo000e and a link to this folder called
03foob ?
 
A

Andy Brown

Andy,

Please explane a litte more

Where do you get the FirstInital from?
Do you mean you want 1 folder 03foo000e and a link to this folder called
03foob ?

Hi, yes the format is exactly that.

03foo000e would have to link to 03foo000e and 03foob

However now I have asked the person who is creating the names to put
both the new username and old name in the same text file, so then I
can use tokens. And my time isn't wasted by even trying.

Thanks for taking the time to reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top