NET USE DriveName: \\IPADDRESS\SharedFolder LoginPassword /user:UserID /Persistent:yes
NET USE X: \\111.111.111.111\SharedFolder LoginPassword /user:UserID /Persistent:yes
Enecute this in command prompt it will connect to the specified location with the specified drive name