Quantcast
Channel: AutoIt v3 - Developer Chat
Viewing all articles
Browse latest Browse all 750

New function for Autoit ?

$
0
0

Hi team,

 

I'm back in the forum after all lost of years o:)

I started with Autoit at the beginning and i still use it almost every days

i'm not sure i'm in the good place but i propose a new function for autoit

Why not addind in the drive mapping place a function like "MapFolder" using "Subst" function from microsoft ?

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/subst.mspx?mfr=true

To drive a folder as a drive letter...

 

exemple :

Run(@ComSpec & " /c " & 'subst D: "C:\My Folder"', "", @SW_HIDE)    ; Mapp the folder "C:\My Folder" with letter "D:\" mapping drive ;Run(@ComSpec & " /c " & 'subst D: /d', "", @SW_HIDE)    ; Command for removing the mapping

with a syntax like :

FolderMapAdd ( "Mapping letter", "remote folder")

 

I'm happy to see you Again

Best regards

Marc

 

PS: Just a question about mapping a drive

I have map a network like "//Network/folder1/folder2/....folderxxx" with a letter "X:\" but in Explorer the drive mapped appear like X:\ (//Network/folder1/folder2/....folderxxx)

I have changed the name with mouse right clic and rename it X:\ (My network) but is there a command or a script to do it automatically ?

Thank you for your answer ;)


Viewing all articles
Browse latest Browse all 750

Trending Articles