If InGroup("mydomain\G-Mitarbeiter")
Use P: /delete /persistent
? "Deleting P drive"
? @ERROR
? @SERROR
Use P: "\\mydomain\dfs\projekte"
?"Mapping P drive."
? @ERROR
? @SERROR
EndIf

taken from another script , this kinda look what i want.

i really need to dump the results to the users local c drive everytime they login to track mapping errors.
where does the @error get recorded?
onscreen is no good and i dont want each user having o hit the return key several times.
also in my script i dont use my domain. should i?


Edited by baggies1 (2010-09-27 12:59 PM)