Sure...

********************************************
IF INGROUP("oracle")
use o: "\\porcl\oracle"
endif
if ingroup("hs622_printers")
shell "con2prt /c \\srvprn01\hs622hp4"
shell "con2prt /cd \\srvprn01\hs622lj4000"
endif
********************************************