Running Windows 7 32-bit, I have a batch file in the Startup folder, which maps a network drive (V:) to Windows Explorer. This is necessary, because the drive is a shared folder within a N.A.S. Here is the batch file code:
net use V: \\V:\Data
net use V: \\DiskStation3\Data
Sometimes, after rebooting, the batch file won't complete without user interaction. A question appears in the command window: "V: has a remembered connection to \\Diskstation-3\Data. Do you want to override the remembered connection?"
The answer is "no", and I'm wondering if there is code which can be added to the batch file to automate that response, if the question appears?
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.