1. TechSpot is dedicated to computer enthusiasts and power users. Ask a question and give support. Join the community here.
    TechSpot is dedicated to computer enthusiasts and power users.
    Ask a question and give support.
    Join the community here, it only takes a minute.
    Dismiss Notice

The name of some specific folders in Windows

By abbasi ยท 7 replies
Feb 12, 2017
Post New Reply
  1. Hi all,

    What folders do these addresses refer to please? My user profile is named ME.

    @HomeDir@ = C\Users\ME (I know this one)
    @UserProfile@ = ?
    USERPROFILE = ?
    @TargetDir@ = ?
    @StattMenuDir@ = ?
    @RootDir@ = ?
     
  2. cliffordcooley

    cliffordcooley TS Guardian Fighter Posts: 9,101   +3,223

    Open a command prompt and type "set". That should give you a listing of all environment variables that are used, not just the ones you listed. If what you seek is not in this list, I'm not sure what to tell you.
     
    abbasi likes this.
  3. abbasi

    abbasi TS Booster Topic Starter Posts: 319   +24

    What a good and nifty answer! Thank you. I will check them all and if have more questions, I will ask again. :)
    checked! There are very valuable info there. And about the addresses I could only find USERPROFILE
     
  4. jobeard

    jobeard TS Ambassador Posts: 10,165   +773

    and that's because they are specific to the script that is using them.
    eg: targedir would be typical for the location for a move or copy
     
  5. abbasi

    abbasi TS Booster Topic Starter Posts: 319   +24

    So they don't refer to a specific folder; they are like variables a script uses by assigning them addresses. Yes?
     
  6. EndlessWaves

    EndlessWaves TS Booster Posts: 191   +45

    I don't recognise the format with the @ prefix and suffix so they could reference specific folders in whatever context you're using them in but they're not windows-wide references like environment variables such as %WINDIR% or %USERPROFILE% as far as I know..
     
    abbasi likes this.
  7. jobeard

    jobeard TS Ambassador Posts: 10,165   +773

    and that depends upon the scripting language being used
     
    abbasi likes this.
  8. abbasi

    abbasi TS Booster Topic Starter Posts: 319   +24

    Yes, you are right.
     

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...