EduGeek AUP Informant Thread, Using %logonserver%\sysvol in Projects:; We wanted to place the aupstaff and aupstudent html files on the sysvol of all our logon servers.
However, when ...
-
2nd September 2008, 11:02 AM #1
- Rep Power
- 0
Using %logonserver%\sysvol
We wanted to place the aupstaff and aupstudent html files on the sysvol of all our logon servers.
However, when we entered the Path as \\%logonserver%\sysvol\EBSCG.INTERNAL\scripts\aup\ aupstaff.html in the AUP Informant config file we get a page cannot be displayed within the AUP Dialog box. The path is correct as it works from Start->Run (if you remove the "\\" at the beginning). I also tried using the Path with and without the "\\" in the AUP Informant config.
I was wondering, as I have zero knowledge of XML, if it was possibley to do with the serializeAs String meaning that the %logonserver% is represented literally, rather than converting to the server name? And if so, is there a work around?
Thanks !
-
-
IDG Tech News
-
2nd September 2008, 11:20 AM #2 have you tried using \\domainname\netlogon ?
-
Thanks to strawberry from:
eastb (2nd September 2008)
-
2nd September 2008, 12:20 PM #3
- Rep Power
- 0
Thank you Strawberry. works perfectly. Have a good one. Cheers!
-
-
2nd September 2008, 01:37 PM #4 This could be considered a bug in AUP informant. It really should expand environment variables in paths provided to it via it's configuration.
-
Thanks to Geoff from:
bizzel (2nd September 2008)
-
2nd September 2008, 02:03 PM #5 
Originally Posted by
Geoff
This could be considered a bug in AUP informant. It really should expand environment variables in paths provided to it via it's configuration.
Certainly something I'll look at. Thanks.
-
-
2nd September 2008, 08:37 PM #6 Okay, I can make the program recognise this type of variable. Is there a list of these I can use? I know the odd few like %windir% but not the whole set.
-
-
2nd September 2008, 10:29 PM #7 Try here Global Variable List
Think that's pretty comprehensive.
Mike.
-
-
3rd September 2008, 01:27 AM #8 Also going to your nearest command prompt and typing 'set' will reveal many useful environment variables.
-
Thanks to Geoff from:
bizzel (11th September 2008)
-
11th September 2008, 11:24 AM #9 Thanks. There doesn't seem to be an easy way to recognise these in C# so I'm in the process of writing my own parser. This bug'll be fixed in version 1.6 which is turning out to be quite a big update now.
-
-
11th September 2008, 12:01 PM #10 
Originally Posted by
bizzel
Thanks. There doesn't seem to be an easy way to recognise these in C# so I'm in the process of writing my own parser. This bug'll be fixed in version 1.6 which is turning out to be quite a big update now.
Environment Class (System)
-
Thanks to Geoff from:
bizzel (11th September 2008)
-
11th September 2008, 12:02 PM #11 Okay, here's a list of the environment variables that'll be supported:
temp
systemdrive
logonserver
windir
tmp
userprofile
programfiles
computername
legacyhome
systemroot
homeshare
homedrive
-
-
11th September 2008, 12:04 PM #12 
Originally Posted by
Geoff
Thanks for that. I'm using the Environment class to get the list of variables but I was hoping the framework had a method to automatically parse them. No such luck but it shouldn't take too long.
Here's the new design as well, backported from 2.0. The background is greyed out which helps prevent tampering even further.
Last edited by bizzel; 11th September 2008 at 12:08 PM.
-
-
11th September 2008, 12:06 PM #13 No, you have to take the list of environment variables it gives you and then loop though them all and stuff them in an array or collection or something.
-
-
16th September 2008, 08:45 AM #14 This should now be fixed in 1.6. These are the supported variables if you enclose them in % % signs:
TEMP
USERDOMAIN
SystemDrive
APPDATA
windir
USERPROFILE
TMP
ProgramFiles
HOMEPATH
COMPUTERNAME
CLASSPATH
USERNAME
SystemRoot
ComSpec
LOGONSERVER
CommonProgramFiles
CLIENTNAME
QTJAVA
ALLUSERSPROFILE
AVENGINE
OS
HOMEDRIVE
-
-
21st January 2009, 03:13 PM #15 Trying to use %USERNAME% and its not working, if i explicitly tell it the path then it works.
Can you help with this Bizzel?
This is in the userHomeFolderPath XML setting
Thanks
Matt
Last edited by mattmoo; 21st January 2009 at 03:16 PM.
-
SHARE: 
Similar Threads
-
By FN-GM in forum Windows
Replies: 8
Last Post: 16th June 2008, 06:21 PM
-
By alonebfg in forum Windows
Replies: 7
Last Post: 16th July 2007, 07:57 PM
-
By Badger in forum Windows
Replies: 19
Last Post: 8th June 2007, 01:23 PM
-
By Norphy in forum Windows
Replies: 10
Last Post: 26th April 2007, 08:43 AM
-
By projector1 in forum Windows
Replies: 4
Last Post: 24th January 2007, 11:39 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules