I'm looking for a list of all the %wildcard% type things available for use in NT4 and win2k. Like %username% gives the users name that is logged in. %computername% gives the name of the pc your logged into. Thanks.
-LCD
Go to a command-line and type 'set'. It will display all the variables in use on the system. That's what you are asking for.
Whatever the value of a variable is is substituted for the variable when you use %variable% in a script. So on my system, %LOGONSERVER% would be equal to my DC that authenticated me. ShackDaddy
That does help, thank you. But I'm actualy looking for a complete list of all the variables that you are able to use in windows. Thanks for the help. -LCD
One place you might look is in Windows NT Shell Scripting by Macmillan Technical Publishers. That is a particularly rich resource on this type of information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.