Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Sep 2001
    Location
    Blue Springs, Missouri, USA
    Posts
    108
    Thanks
    1
    Thanked 0 Times in 0 Posts

    append Win 7 environment

    My current environment is as such..
    TEMP = c:\temp
    TMP = c:\tmp

    There are progs that will not function with that environ...

    Can I append it to read something like...

    TEMP = c:\temp; %USERPROFILE%\AppData\Local\Temp
    TMP = c:\tmp; %USERPROFILE%\AppData\Local\Temp

    or do I just have to out right change it to...
    TEMP = %USERPROFILE%\AppData\Local\Temp
    TMP = %USERPROFILE%\AppData\Local\Temp

    and be done with it? TIA

    Dennis

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,433
    Thanks
    371
    Thanked 1,456 Times in 1,325 Posts
    Dennis,

    I'd use this one:
    TEMP = %USERPROFILE%\AppData\Local\Temp
    TMP = %USERPROFILE%\AppData\Local\Temp
    That's how my machine (Win 8.1 Pro 64-bit) is setup.

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •