This command will work in CMD if I copy and paste it from my batch file to CMD. When I run my batch file, it tells me access is denied (System Error 5). Any idea what I need to do to fix this?
NET USE * "\\server\folder\" "password" /USER:domain\username