Hi all,

I have created a .bat file with the follow code;

net use J: /delete
net use L: /delete

net use J: \\prlb00004\tgc /persistent:no
net use z: \\prlb00004\common /persistent:no

This obviously works fine when there is already a mapping on drives J & L but if the user does not already have a L drive mapped it will not add it.

What i need is how do I get a drive letter L on running this code so it will put the mapping on it.

Hope this makes sense

Cheers

Teppid