Hello,

ich have a Problem to become a value as an variable.

I have the variable

$localdrive_H = "\\Fileserver\share"

i build the new variable with
$drive = LEFT($localdrive_H, 1)

$NewVariable = "$localdrive_" + $drive
The variable $NewVariable has the value $localdrive_H

when i use this in
use h: $NewVariable

i become an errer because the Value of this is $localdrive_H and not \\Fileserver\share

how can i become the right value?
can everyone help me?

Regards
Michael