Network Issues Windows

Connecting to unc paths via command prompt

I’d always used pushd to store the location of working directories when writing bat scripts. I didn’t realise that you could also use the pushd command to access unc paths:

This command creates a new drive for the share. You can use popd to remove the drive association with the UNC share.

Leave a Reply

Your email address will not be published. Required fields are marked *

*