How do I ask the user to supply a network username/password when connected to a network via a VPN connection? For example, I want to run the following command from a BAT file:
xcopy \\<servername>\<sharename>\*.atp "C:\PfX Documents\Binder\Templates\*.*" /D. It's easy enough when I do the Net Use command and map to a device, since the OS (Win2000/XP) will prompt for a username. But without running the Net Use command, as in my example, I just get the message "Invalid Drive Specification". It will work fine if I first do a Run command using \\<servername> and ride username/password. However, I am trying to prevent the users from doing anything other than connect to the VPN and running a BAT file. The connecting PC's are not members of the Domain, but the users are.