|
this is true i have learned where the file is located scripts.ini it is in my netlogon directory i have got the software ini working which checks to see if certain software is install i just cant get the mapped drives from working from the ini file ???? from what i can tell it should work
;** ;** ;** Connect DefaultShares to Drives Function ConnectDefaultDrives() ;****************************** ; Default DriveShares ;****************************** If Exist($FileLocation + "\shares.ini") For $x = 1 to 10 $DriveDefinition = ReadProfileString($FileLocation + "\shares.ini", "[all]", "drive" + $x) If @ERROR = 0 If $DriveDefinition<>"" ConnectShare($DriveDefinition) EndIf Else Return EndIf Next EndIf EndFunction
and the ini file is
[all] Drive1="S:, \\fileserver-2\shared, all"
should this work
|