16.02.2016., 22:02
|
#2
|
only fool, not a horse
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"
Zadnje izmijenjeno od: rodney. 16.02.2016. u 22:07.
|
|
|