What does the percent mean in something like %Homepath% or %Homedrive%? And are the words in the middle case s...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
The percent signs indicate that they are environment variables that are to be expanded. You can see these in action by starting up a Command Prompt (CMD.EXE). Type the SET command and you'll see all the currently defined environment variables for your account.
On the machine I am using right now, HOMEDRIVE and HOMEPATH are the following according to the SET command:
HOMEPATH=Documents and Settingsjohn
To show it using the expanded environment variables, enter the following command in the Command Prompt window:
This is the equivalent of typing on my machine:
dir "e:Documents and Settingsjohn"
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.