You can use the net use command to connect to a shared resource, such as network printers, mapped drive, etc., in your local area network. If you are not familiar with this command, this guide will be ...
ForFiles command lets you manage or delete folders, complying with some criteria on Windows 11/10. If you want to use ForFiles command on a shared network folder or a mapped network drive, here is how ...
Hmm I guess your telnet session won't have the drives mapped, because it doesn't load up your profile. You would have to map them yourself (net use z: //server/share ...