Sign in to follow this  
Followers 0
gleem

DriveMap Add not saving on reboot.

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  
Followers 0