Batch files are antiquated, and cumbersom. Use a VBScript / WSH combo punch, and you can do just about anything you want at a users logon.