You cannot do that.
The browser is not allowed to access anything on client computer. Everything that is allowed for browser is only in the browser window. No access to disk files or users environment settings. Neither to change nor to read.
The %SMSDP% is a cmd.exe interprated string. It will work when you go trough cmd.exe interpreter to open the page. Like this:
C:\Users\SuperAdmin>"C:\Pr
But in the browser page URL reference or address bar is % the prefix for character translation, for example %20 is a blank char in the URL string.
Only way for your approach is ActiveX and HTA:
http://msdn.microsoft.com/
There you can write statements like this:
http://www.codetoad.com/fo
Main Topics
Browse All Topics





by: Mikki-HiiriPosted on 2008-07-16 at 23:47:39ID: 22022840
To give more in depth into this ...
which is shown in CMD - SET as a environment variable. If I type to Internet Explorer address bar %SMSDP%, it will bring me to the \\CITY1DP1\SMS-DP$ share.
a href would like something like this: OpenOffice
and then in logon script with KIX32 I set: SET "SMSDP=\\CITY1DP1\SMS-DP$"