...details and help me!? I've made the following batch file with reference of a website. Is it correct? it shows "system error 67 has occurred". But, I can map any network location manually (by Map Network Place > Add Network Place Wizard) without any error. Only this batch file shows error.
I want to map my ftp as a network drive. If it already exist, should open it with explorer. else, it should be created.
But, I don't know how-to. please help me out with correct batch file! I'm hoping you all.
Thanks in advance.
myFtpMapDrive.bat:
If exist "z:\ftp.mydomain.com\" Goto penit
:mapit
net use z: /delete
net use z: net use w: ftp://myFtpUserName:myFtpPassword@ftp.myDomain.com /persistent
penit
cd /d z:\ftp.mydomain.com
pause
exit
I want to map my ftp as a network drive. If it already exist, should open it with explorer. else, it should be created.
But, I don't know how-to. please help me out with correct batch file! I'm hoping you all.
Thanks in advance.
myFtpMapDrive.bat:
If exist "z:\ftp.mydomain.com\" Goto penit
:mapit
net use z: /delete
net use z: net use w: ftp://myFtpUserName:myFtpPassword@ftp.myDomain.com /persistent
penit
cd /d z:\ftp.mydomain.com
pause
exit