View Single Post
Staro 16.02.2016., 22:02   #2
rodney
only fool, not a horse
Moj komp
 
rodney's Avatar
 
Datum registracije: Apr 2008
Lokacija: near zgb
Postovi: 1,280
Code:
'Find the location of the computer's hosts file
 If fs.FolderExists(fs.BuildPath(fs.GetSpecialFolder(SystemFolder), "drivers\etc")) 
Then     gstrHostsFile = fs.BuildPath(fs.GetSpecialFolder(SystemFolder), "drivers\etc\hosts")'WinNT, Win2000, WinXP, Vista Else         gstrHostsFile = fs.BuildPath(fs.GetSpecialFolder(WindowsFolder), "hosts")'Win98 End If
tu probaj:
Code:
'Find the location of the computer's hosts file 
If fs.FolderExists(fs.BuildPath("C:\Program Files (x86)\Acrylic DNS Proxy\AcrylicHosts.txt")) 
Then     gstrHostsFile = fs.BuildPath("C:\Program Files (x86)\Acrylic DNS Proxy\AcrylicHosts.txt")'WinNT, Win2000, WinXP, Vista End If
ili mozda samo :
Code:
gstrHostsFile = "C:\Program Files (x86)\Acrylic DNS Proxy\AcrylicHosts.txt"
__________________
"I intend to live forever. So far, so good."

job security - example

Zadnje izmijenjeno od: rodney. 16.02.2016. u 22:07.
rodney je offline   Reply With Quote