1
vote
4answers
63 views

Stacking Windows environment variables

Is it possible to "stack" Windows environment variables such as, "RUBY_PATH" = "C\ruby\bin" "PYTHON_PATH" = "C:\python332" "PROGRAMMING_PATH" = "%RUBY_PATH%;%PYTHON_PATH%" "Path" = ...
1
vote
1answer
314 views

environment variable for hkey_users/software

Many of my software configurations are stored in theHKEY_USERS\S-1-5-21-2715202203-4090495733-1863141328-1000\Software reg-folder. For developing Portable apps, I want to know the environment variable ...
0
votes
0answers
22 views

Has anyone gone through relocating the %ProgramFiles% directory, and can comment on the process / pro/con's?

There are many questions on this SE subsite that ask if it is possible/how. I have commented on some of them that suggest changing the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir ...
0
votes
0answers
180 views

Using environment variables in windows registry

I have a game that normally saves everything to the same folder. I want to have a separate save folder for each windows 7 account. The game's save path is stored in the windows registry. It doesn't ...
1
vote
2answers
2k views

Using Environment variable in registry for command

I'm making a program which requires arguments from context menu (click a file and invoke my program with the file name as parameter). I'm trying to add a registry key to ...\shell\myThing\command. ...
0
votes
0answers
105 views

Why does %ProgramFiles% not work in startup paths?

A program (allowing me to zoom with my trackpad) ran at startup on my computer. Then I disabled it through Administrative Tools > System Configuration > Startup. When I re-enabled it that same way it ...
0
votes
1answer
10k views

How can I refresh my PATH variable from the registry, without a reboot, logoff, or restarting explorer?

I've made some changes to the %PATH% variable in the registry. Now, I'd like to see those changes applied without having to go so far as a logoff, reboot, or reload of Explorer. Is there a way this ...
8
votes
2answers
7k views

Is it possible to “declare” a windows cmd-file (batch-file) as 32 bit?

Background: We do quite some scripting and little helpers with batch files (xyz.cmd) at work. Windows 7 is only now starting to become widespread here, and obviously, we hit the problems associated ...
1
vote
1answer
811 views

Why does set command shows different value of PATHEXT variable than what's in the registry?

I'm on Windows Vista x64. C:\Users\Piotr>set pathext PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS;.MSC As far as I know value of PATHEXT environment variable is saved in ...
0
votes
1answer
246 views

What could be causing a “1606 could not access network location %APPDATA%\.” error?

I'm trying to install Quicken 2011 on a Windows 7 machine, but I keep getting an error about half way through the install claiming it cannot access the network location '%APPDATA%\.' I've read ...