Jump to content
Sign in to follow this  

DriveMapAdd Not Working Correctly

Recommended Posts

DriveMapAdd simply isn't working correctly.

We have a win2k3 server that each of our client computers needs to connect to, so on each boot up they run the following script.

The problem is that the script simply doesn't work correctly.

I've gone through many tests, if i run the script while idle in windows it sits there for about 20 seconds, then closes, but the mapped drive isn't added.

You can add the account manually and it works just fine, but for some reason the script isn't working correctly.

if IniRead("Y:\connect.ini", "Connect", "Test", "False") = "False" then
    DriveMapAdd("Y:", "\\server\Public", 1, "account", "5678")

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...