Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

%wildcards%? 1

Status
Not open for further replies.

LCD

MIS
Feb 19, 2001
72
US
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

Helpful? Vote me helpful!
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top