Why does %ProgramFiles% not work in startup paths?

0

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 would not run at startup anymore. In the list it was the only program using %ProgramFiles% instead of C:\Program Files\ so I changed it in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Then it started correctly. It was strange though because the %ProgramFiles% path (when I put quotes around the whole thing) worked from the command line.

It's also strange that about half of the programs have quotes and half of them don't, but it does not seem to stop them from starting.

Buge

Posted 2012-09-28T01:18:02.837

Reputation: 402

Perhaps the PATH variable does not get set until farther on in the boot process – soandos – 2012-09-28T01:49:46.500

1Was the registry value of type REG_SZ or REG_EXPAND_SZ? – user1686 – 2012-09-28T02:45:13.377

@grawity It is REG_SZ – Buge – 2012-09-28T19:40:42.573

No answers