You can use INSTR to look for value inside a string (or a macro).

 Code:
Select
Case Instr(@WKSTA,"ps12")
     ; map drives for ps12
Case Instr(@WKSTA,"ps13")
     ; map drives for ps13
Case 1
     ; Default set of mapped drives for anything else
EndSelect



Edited by eriqjaffe (2010-07-26 11:59 PM)