Environment Path

Hello. I have 64-bit Win7 with CCleaner v 3.20.1750 (64-bit) installed. I see in the Cleaner Advanced section a checkbox labeled "Environment Path". Can someone explain exactly what will be cleaned or removed if I were to check that option? Surely it does not alter my path in any way; so what does it change? Thanks.

Us regular users don't have a clue what it does because Piriform has never officially stated what it does, and there's nothing on their documentation website about it. There's another topic about it here, but that topic doesn't state what it does.

Since us regular users don't know what it's for I'd recommend leaving it disabled!

http://forum.pirifor...showtopic=33434

Perhaps?

edit: I'll add a false value to my path and test it, one second

second edit: I can confirm that it prunes orphaned entries from the PATH environment variable.

I can confirm that it prunes orphaned entries from the PATH environment variable.

Thank you for checking this!

I have just done a CCleaner run with Environment Path checked, and it reduced my PATH list from 33 entries (including an empty one - two semicolons) to 28.

What it does not remove are duplicates; I found three entries of "C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live". Maybe that could be an additional small improvment to CCleaner?

P.S. and while CCleaner is at it, it could also move %SYSTEMROOT% and %SYSTEMROOT%\system32 to the top of the list.

second edit: I can confirm that it prunes orphaned entries from the PATH environment variable.

In the registry? And if so where?

Computer -> Advanced System Settings -> Environment Variables -> Path

https://dl.dropbox.com/u/14823386/sd/2012-07-12_163035.png

Ah, thank you! :) At least we now know what it does.