windows - How to map a network drive inside a batch -


My users are using to map network drives.

I have developed a tool that uses a network drive.

Issue: I can overlap a user-defined drive.

How can I open a DOS batch file that will determine a new network drive for my own use

You can use

  pushed \\ server \ share   

it will map a drive to the first available letter

Drive popd

The existing directory can be obtained through the Environmental Verbal % cd% .

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -