Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9146

How do I get windows version as a variable?

$
0
0

I'm making some batch files to personalise my Windows installations faster, but I need my batch to take a path depending on which Windows version it's running on.

If I could get the Windows version into a variable I could build a conditional to take the right path.

I've been looking for an answer on google and even here but the answers I've got don't meet what I need.

Could someone help me please?


Viewing all articles
Browse latest Browse all 9146

Trending Articles