Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Windows System Drive

  • 28-04-2005 11:08pm
    #1
    Closed Accounts Posts: 240 ✭✭


    Could somebody tell me how windows XP refers to the system drive(normially C:\) as I need to refine Opera8 menu shortcuts???

    From memory it was %system% or something...but I cant remember.
    So instead of:
    C:\Program Files
    you use
    %system%:\Program Files
    Could someone help me out here???


Comments

  • Registered Users, Registered Users 2 Posts: 78 ✭✭de8o


    Here's a list of most of the environment variables...

    %ALLUSERSPROFILE% Local returns the location of the All Users Profile.
    %APPDATA% Local returns the location where applications store data by default.
    %CD% Local returns the current directory string.
    %CMDCMDLINE% Local returns the exact command line used to start the current cmd.exe.
    %CMDEXTVERSION% System returns the version number of the current Command Processor Extensions.
    %COMPUTERNAME% System returns the name of the computer.
    %COMSPEC% System returns the exact path to the command shell executable.
    %DATE% System returns the current date. This variable uses the same format as the date /t command. Cmd.exe generates this variable. For more information about the date command, see the Date command.
    %ERRORLEVEL% System returns the error code of the most recently used command. A non-0 value usually indicates an error.
    %HOMEDRIVE% System returns which local workstation drive letter is connected to the user's home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
    %HOMEPATH% System returns the full path of the user's home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
    %HOMESHARE% System returns the network path to the user's shared home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
    %LOGONSERVER% Local returns the name of the domain controller that validated the current logon session.
    %NUMBER_OF_PROCESSORS% System specifies the number of processors installed on the computer.
    %OS% System returns the OS name. Windows XP and Windows 2000 display the OS as Windows_NT.
    %PATH% System specifies the search path for executable files.
    %PATHEXT% System returns a list of the file extensions that the OS considers to be executable.
    %PROCESSOR_ARCHITECTURE% System returns the processor's chip architecture. Values: x86, IA64.
    %PROCESSOR_IDENTIFIER% System returns a description of the processor.
    %PROCESSOR_LEVEL% System returns the model number of the computer's processor.
    %PROCESSOR_REVISION% System returns the revision number of the processor.
    %PROMPT% Local returns the command-prompt settings for the current interpreter. Cmd.exe generates this variable.
    %RANDOM% System returns a random decimal number between 0 and 32767. Cmd.exe generates this variable.
    %SYSTEMDRIVE% System returns the drive containing the Windows root directory (i.e., the system root).
    %SYSTEMROOT% System returns the location of the Windows root directory.
    %TEMP% System and User return the default temporary directories for applications that are available to users who are currently logged on. Some applications require TEMP and others require TMP.
    %TMP% System and User return the default temporary directories for applications that are available to users who are currently logged on. Some applications require TEMP and others require TMP.
    %TIME% System returns the current time. This variable uses the same format as the time /t command. Cmd.exe generates this variable. For more information about the time command, see the Time command.
    %USERDOMAIN% Local returns the name of the domain that contains the user's account.
    %USERNAME% Local returns the name of the user currently logged on.
    %USERPROFILE% Local returns the location of the profile for the current user.
    WINDIR %WINDIR% System returns the location of the OS directory


  • Closed Accounts Posts: 240 ✭✭julius


    Much appreciated de8o,

    Will save to a readonly text file for future reference!


Advertisement