running a batch file
ok here is what i need to do. i need to track users who visit an intranet site. i cant use the server variable host_name for some reason. so i have to work around it. i can get the ip address, however. here is what i have thought out.
get the ip address, write it to a table in some db... use the ip address to create a string and save it to a batch file that will run a tracert on the ip i gave it. output the results of the batch file to a text file, then write them in the same table the ip address is stored it.
here is my problem, how do i execute the batch file?