dmoniac Posted September 9, 2008 Posted September 9, 2008 (edited) SubjectMount network driveGoalDo automatically mounting network drive and retrying if the hist is not avaible.WhyI use this whith my Media Center.Media Center start and my program mount automatically drive when they avaible. Not need to return windows to mount/remount manualy.InstallCreate a INI file which contains all drive to mounting.Put this INI file to program' parameter INI file Config[GLOBAL] checkevery=<number of seconde to check connections> remount=[1:reconnection|0(default):no check the next state of connection] umountfirst=[1:For the init program, force umount drive, 0(defaut):Keep drive if letter already exists] [<mount name1>] host=<hostname|ip> dir=<directory to mount> driveletter=<drive:> user=[user] pass=[password|*:to ask password] remount=[1|0] umountfirst=[1|0] [<mount name other>] host=<hostname|ip> dir=<directory to mount> driveletter=<drive:> user=[user] pass=[password|*:to ask password] remount=[1|0] umountfirst=[1|0] [...]Source CodeSee attach files.HistoryV120 : Add option to ask the user password; Correct bug dismount driveV110 : Add 'umountfirst' option to force the umount drive letter when you run program for the 1stV100 : initial programDownloadV110 : 9V100 : 26Voilà, j'espère que ça servira à quelqu'un. icone.icoautoconnexion_reseau.au3 Edited September 11, 2008 by dmoniac
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now