hi everyone, i know the title is a little bit cryptic, sorry...please suggest me a better one...
anyway, i have a function which runs a file (e.g.: pdf) with HYPERLINK('W:\.....\a.pdf) function, but for this time, i've only this path: '\\intranet.xxx.it\root$' which is mapped as 'W:'
how can i retrieve the 'W:' starting from '\\intranet...'?
is it possible?
(i don't want do create a new setup field for a couple of reasons)
thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog0
Answers
i only need a string wich is the mapped driver for '\\intranet...' address
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
viewtopic.php?f=5&t=22930
it's what i need but viceversa (i need from sharename to drivename)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
am i explaining bad?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
And why? :-k
You can use the vbs example (with some mods [do you need hellp?] ) in the link to go through all mounted drives.
i need to do this because i have to run HYPERLINK and it doesn't work with \\intranet... but only with W:\
i just have \\intranet.. address and i don't want to create another setup if i can retrieve W:\ directly from \\intranet...
otherwise, is there a way to run \\intranet...pdf files in another way different from HYPERLINK?
thanks
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
viewtopic.php?t=12417
to get all the mapped network drives and their name you can use the following example:
regards
can work for me, i can directly run \\intranet without retrieving the mapped drive name, thanks al lot!
have a nice day
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog