Hello,

I also seem to be having trouble with mapping drives. Please, It may be me do things wrong!

I am trying to map a drive, but getting the path to map to from a variable. Can this be done?

Here is a short script that indicates just what I am trying to do.

$Share = "Common"
$Path = "maff.gov.uk"
$server = "ITD001df"

USE T: \\ITD001df.maff.gov.uk\common ; This Works OK

USE y: \\$server.$path\$share ; This does not !

Thanks Duncan