- Joined
- Jul 12, 2013
- Messages
- 3
- Reaction score
- 0
- Points
- 1
- Location
- Harrogate, North Yorkshire
HI,
I wonder if anyone can help me with this. I am new to Macs.
I have set up a VPN connection to the PC server in my office but do not know how to map the drive.
I have the following batch file that did the job when I was using a PC but do not know what to enter as the server address on the iMac.
@echo off
rasdial ymc ymcvpn JulyTwenty20
if errorlevel 1 goto VPNERROR
echo VPN Connected Successfully
echo Now Attempting to map S: drive to \\serverpc\documents folder.
echo Please enter password for YMCPD and press Enter (it will not show it being typed):
net use S: \\132.168.59.200\Documents /User:serverpc\YMCPD * >nul
If errorlevel 1 goto MAPERROR
echo Drive S: Mapped Successfully
goto End
:VPNERROR
echo Sorry there was a problem connecting the VPN. Please try later.
goto End
:MAPERROR
echo Sorry there was a problem with mapping the drive. Please try disconnecting first.
:End
pause
Can anyone suggest what I can try?
Peter
I wonder if anyone can help me with this. I am new to Macs.
I have set up a VPN connection to the PC server in my office but do not know how to map the drive.
I have the following batch file that did the job when I was using a PC but do not know what to enter as the server address on the iMac.
@echo off
rasdial ymc ymcvpn JulyTwenty20
if errorlevel 1 goto VPNERROR
echo VPN Connected Successfully
echo Now Attempting to map S: drive to \\serverpc\documents folder.
echo Please enter password for YMCPD and press Enter (it will not show it being typed):
net use S: \\132.168.59.200\Documents /User:serverpc\YMCPD * >nul
If errorlevel 1 goto MAPERROR
echo Drive S: Mapped Successfully
goto End
:VPNERROR
echo Sorry there was a problem connecting the VPN. Please try later.
goto End
:MAPERROR
echo Sorry there was a problem with mapping the drive. Please try disconnecting first.
:End
pause
Can anyone suggest what I can try?
Peter