instead of gosubs, what about functions??

I know, you are just starting out.

I think you are meaning the @homeshr macro



$group = "domain users"
$drive = "H:"
$path = @homeshr
GOSUB "MAPDRIVE"
_________________________
How to ask questions the smart way <-----------> Before you ask