Could you please explain to me how to create the cw.bat file for connecting to branches. i need to redo this at all the stores as they not yet using the .net and i need to transfer stock to other branches. i could do it through the .net but this means it needs to be done manually. i know what commands to fill in, i just need to know how to create it.
Thanks Zaki
Connecting to Branches.
- basit
- Site Admin
- Posts: 200
- Joined: May 17th, 2005, 8:10 pm
- Location: Johannesburg South Africa
- Contact:
Below is a typical cw.bat file.
Change the drive letters and IP's based on you VPN (hamachi)
DEL C:\RAM\IP.
SUBST X: C:\RAM
NET USE H: /D /Y
NET USE H: \\5.65.230.214\Compu /Y
NET USE M: /D /Y
NET USE M: \\5.65.234.143\Compu /Y
NET USE L: /D /Y
NET USE L: \\5.66.208.94\Compu /Y
NET USE E: /D /Y
NET USE E: \\5.74.94.22\Compu /Y
PAUSE
Hope this helps
Please not the \Compu is the drive you sharing ; in your case if the drive is shared as C then it would just be \c
BASit
Change the drive letters and IP's based on you VPN (hamachi)
DEL C:\RAM\IP.
SUBST X: C:\RAM
NET USE H: /D /Y
NET USE H: \\5.65.230.214\Compu /Y
NET USE M: /D /Y
NET USE M: \\5.65.234.143\Compu /Y
NET USE L: /D /Y
NET USE L: \\5.66.208.94\Compu /Y
NET USE E: /D /Y
NET USE E: \\5.74.94.22\Compu /Y
PAUSE
Hope this helps
Please not the \Compu is the drive you sharing ; in your case if the drive is shared as C then it would just be \c
BASit