View Single Post
Old 20-Apr-2007, 03:01 AM   #1 (permalink)
Anilrgowda
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Wink What does ver command yield for Vista?

Question: I have a little command script that adds a couple of entries the hosts file so that remote folks can access our (unpublished) outside IP address and be redirected to an inside web server by our firewall. I need to update the script for Vista. This script evaluates the output of the ver command to determine which windows version it is running on, and in turn sets a variable for the location of the hosts file. Since we don't have Vista on our network yet, I need to ask you knowledgeable experts a couple of simple questions:

1) What is the exact output of the ver command in Vista business and home versions?
2) What is the exact location of the hosts file in Vista?
Anilrgowda is offline   Reply With Quote