You can use the net use command to map network drives persistently, here is an example:
net use z: \\pcA\folderA /user:peter 123456 /p:yes
- z: drive letter name(A-Z)
- Eeter: user name on remote PC
- 123456: password for peter
- /p:yes: persistent, (accessible after reboot)