Hi William,

Here's one way to map your drives using the PC name:

code:

BREAK ON CLS

$PCNAME=@WKSTA

SELECT
CASE INSTR ($PCNAME, "DC")
USE G: "\\SERVER1\SHARE"
CASE INSTR ($PCNAME, "VA")
USE G: "\\SERVER2\SHARE"
CASE 1
? "Non standard PC name.."
ENDSELECT