April 10, 200422 yr Ive searched the forum and the guide but i cant find it. Maby its caused by my bad english .I know some more%SystemRoot% - System Root%WinDir% - Windows Dir%AllUsersProfile% - All users dir.But does anyone know more than these such a programfiles, or the local disk.I hope somebody does.Sebas
April 10, 200422 yr %userprofile% - Current User's Profile%systemdrive% - The System's DriveThat's all I can remember off the top of my head right now...
April 10, 200422 yr Yup...Here's the list:ALLUSERSPROFILEAPPDATACLIENTNAMECommonProgramFilesCOMPUTERNAMEComSpecHOMEDRIVEHOMEPATHLOGONSERVERNUMBER_OF_PROCESSORSOSPathPROCESSOR_ARCHITECTUREPROCESSOR_IDENTIFIERPROCESSOR_LEVELPROCESSOR_REVISIONProgramFilesPROMPTSESSIONNAMESystemDriveSystemRootTEMPTMPUSERDOMAINUSERNAMEUSERPROFILEwindir
April 11, 200422 yr Here is a link to microsoft with descriptions for eachCommand Prompt VariablesShark007
April 11, 200422 yr Keep in mind that half of those don't exist during an XP installation.I had a list but I can't find it. Type set at T-13 or so to get the available ones at that time.
April 11, 200422 yr Is it possible to create custom variables like for my desktop %desktop% and %downloads% for my downloads drive?
April 11, 200422 yr %USERPROFILE%\Desktopwould be the logged in user's desktop.as for creating your own, if you know the PATH to the folder....just type at a command promptset DOWNLOADS=C:\Downloadsor via registry atHKLM\System\CurrentControlSet\Control\Session Manager\Environment
Create an account or sign in to comment