Jump to content

DriveMap Add not saving on reboot.


Recommended Posts

Typically when you map a drive in windows, it saves the map drive location when a user logs out and restarts then logs back in again. In my program, I am using this code to map a drive.

DriveMapAdd("U:", "\\sgibb2k3file2\Computer Support\SGI AutoApp")

when running my script, the drive maps correctly. When I reboot, I lose the map drive and have to rerun the program to map it.

is there anyway to map a drive and save it with autoit without having to run additional scripts to map drives upon reboot?

Link to post
Share on other sites
  • Developers

Typically when you map a drive in windows, it saves the map drive location when a user logs out and restarts then logs back in again. In my program, I am using this code to map a drive.

DriveMapAdd("U:", "\\sgibb2k3file2\Computer Support\SGI AutoApp")

when running my script, the drive maps correctly. When I reboot, I lose the map drive and have to rerun the program to map it.

is there anyway to map a drive and save it with autoit without having to run additional scripts to map drives upon reboot?

Like the Windows Mapping you need to make the map persistent.. check the helpfile for the option.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...