Jeffery Tang
Jeffery Tang

Reputation: 403

Removing nonexistent path variables automatically

I've accumulated a lot of environment variables in my user and system Path. I'm sure some of them don't even exist anymore, so I'm going to check one by one. But is there an automatic way to do it?

Upvotes: 1

Views: 369

Answers (1)

VonC
VonC

Reputation: 1327716

There is no native Windows function to perform such a purge.

You would need to make a script which would:

Upvotes: 1

Related Questions