I am trying to create login script to my users and i seriously need help. A CMD script that does following.. if username starts with letters "test" (we have several usernames with test123**), than map network drives and add network printers..
SO this is my code now:
If %username% == "test" goto MAPPINGS else goto end
net use e: \\server\folder
rundll32 printui.dll PrintUIEntry /in /n\\server\printername