<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a Batch File to Easily Refresh Network Settings</title>
	<atom:link href="http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/</link>
	<description>A Weblog for Emerging Computer Technicians</description>
	<lastBuildDate>Sun, 25 Jul 2010 13:50:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Psycho-Smiles</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-794</link>
		<dc:creator>Psycho-Smiles</dc:creator>
		<pubDate>Thu, 13 May 2010 11:10:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-794</guid>
		<description>cmd /k ipconfig /displaydns   to display DNS

cmd /k ipconfig /flushdns     to flush DNS

make 2 seperate bats so you can see your recent activity if you want to without it wiping your DNS out first 

save as DNS.bat etc</description>
		<content:encoded><![CDATA[<p>cmd /k ipconfig /displaydns   to display DNS</p>
<p>cmd /k ipconfig /flushdns     to flush DNS</p>
<p>make 2 seperate bats so you can see your recent activity if you want to without it wiping your DNS out first </p>
<p>save as DNS.bat etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mukesh</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-692</link>
		<dc:creator>mukesh</dc:creator>
		<pubDate>Tue, 19 Jan 2010 06:31:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-692</guid>
		<description>hello sir i m using two ip address in one machine
so how to create a bat file &amp; how to create a diffrent ip address in bat file pls sent my email id</description>
		<content:encoded><![CDATA[<p>hello sir i m using two ip address in one machine<br />
so how to create a bat file &amp; how to create a diffrent ip address in bat file pls sent my email id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rav</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-517</link>
		<dc:creator>Rav</dc:creator>
		<pubDate>Thu, 16 Apr 2009 10:43:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-517</guid>
		<description>I have solved the issue. saved file as .BAT and it works... Doh!!!!

Cheers mate.</description>
		<content:encoded><![CDATA[<p>I have solved the issue. saved file as .BAT and it works&#8230; Doh!!!!</p>
<p>Cheers mate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rav</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-516</link>
		<dc:creator>Rav</dc:creator>
		<pubDate>Thu, 16 Apr 2009 10:40:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-516</guid>
		<description>Hi I have copied the above script and created .vbs file when running the file i get Windows Script Host error
Line: 1
Char 1
Error: Invalid Character
Code: 800A0408
Source: Microsoft VBScript compilation error

Can you help please?</description>
		<content:encoded><![CDATA[<p>Hi I have copied the above script and created .vbs file when running the file i get Windows Script Host error<br />
Line: 1<br />
Char 1<br />
Error: Invalid Character<br />
Code: 800A0408<br />
Source: Microsoft VBScript compilation error</p>
<p>Can you help please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-442</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Wed, 17 Dec 2008 15:58:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-442</guid>
		<description>This is great ... it works wonders...</description>
		<content:encoded><![CDATA[<p>This is great &#8230; it works wonders&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yamaha</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-397</link>
		<dc:creator>Yamaha</dc:creator>
		<pubDate>Thu, 11 Sep 2008 20:06:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-397</guid>
		<description>This is wonderful.  Thanks fellas.</description>
		<content:encoded><![CDATA[<p>This is wonderful.  Thanks fellas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-78</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 02 Apr 2008 04:17:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-78</guid>
		<description>Thanks to your idea, I created my own file.  (I took out the ascii graphics in the Menu&#039;s).  

@echo off
title NETWORK RESET SCRIPT
:prompt
color 1f
cls
echo NETWORK RESET SCRIPT
echo.
echo Type r to Reset Network
echo Type p to do a ping test
echo Type c to go to Command Prompt
echo Type q to exit
set /p answer=
if &#039;%answer%&#039; == &#039;r&#039; goto test
if &#039;%answer%&#039; == &#039;R&#039; goto test
if &#039;%answer%&#039; == &#039;C&#039; goto cmd
if &#039;%answer%&#039; == &#039;c&#039; goto cmd
if &#039;%answer%&#039; == &#039;q&#039; goto quit
if &#039;%answer%&#039; == &#039;Q&#039; goto quit
if &#039;%answer%&#039; == &#039;P&#039; goto ping
if &#039;%answer%&#039; == &#039;p&#039; goto ping
pause &gt;nul

:test
cls
echo ----------------------------------------------------
echo - RELEASING IP.... -
echo ----------------------------------------------------
ipconfig /release &gt;nul
echo.
echo Done!
echo.
echo ----------------------------------------------------
echo - RESETTING IP LOG... -
echo ----------------------------------------------------
@netsh int ip reset C:\Windows\TEMP\IPRESETLOG.txt &gt;nul
echo.
echo Done!
echo.
echo ----------------------------------------------------
echo - FLUSHING ARP TABLES... -
echo ----------------------------------------------------
@arp -d &gt;nul
echo.
echo Done!
echo.
echo ----------------------------------------------------
echo - FLUSHING DNS... -
echo ----------------------------------------------------
@ipconfig /flushdns &gt;nul
echo.
echo Done!
echo.
echo ----------------------------------------------------
echo - RENEWING IP... -
echo ----------------------------------------------------
@ipconfig /renew &gt;nul
echo.
echo Done!
echo.
cls
echo ----------------------------------------------------
echo Heres Your Status: -
echo ----------------------------------------------------
ipconfig /all
echo.
echo Press Any Key to Go To Menu
pause &gt;nul
goto prompt

:ping
cls
echo ----------------------------------------------------
echo Starting Ping Test... -
echo ----------------------------------------------------
echo.
ping google.com
echo.
echo Press Any Key to goto MENU
pause &gt;nul
goto prompt

:quit
cls
echo Thanks For Using The Network Reset Script
pause
exit

:cmd
@color 7
cls
cmd
@echo on
</description>
		<content:encoded><![CDATA[<p>Thanks to your idea, I created my own file.  (I took out the ascii graphics in the Menu&#8217;s).  </p>
<p>@echo off<br />
title NETWORK RESET SCRIPT<br />
:prompt<br />
color 1f<br />
cls<br />
echo NETWORK RESET SCRIPT<br />
echo.<br />
echo Type r to Reset Network<br />
echo Type p to do a ping test<br />
echo Type c to go to Command Prompt<br />
echo Type q to exit<br />
set /p answer=<br />
if &#8216;%answer%&#8217; == &#8216;r&#8217; goto test<br />
if &#8216;%answer%&#8217; == &#8216;R&#8217; goto test<br />
if &#8216;%answer%&#8217; == &#8216;C&#8217; goto cmd<br />
if &#8216;%answer%&#8217; == &#8216;c&#8217; goto cmd<br />
if &#8216;%answer%&#8217; == &#8216;q&#8217; goto quit<br />
if &#8216;%answer%&#8217; == &#8216;Q&#8217; goto quit<br />
if &#8216;%answer%&#8217; == &#8216;P&#8217; goto ping<br />
if &#8216;%answer%&#8217; == &#8216;p&#8217; goto ping<br />
pause >nul</p>
<p>:test<br />
cls<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo &#8211; RELEASING IP&#8230;. -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
ipconfig /release >nul<br />
echo.<br />
echo Done!<br />
echo.<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo &#8211; RESETTING IP LOG&#8230; -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
@netsh int ip reset C:\Windows\TEMP\IPRESETLOG.txt >nul<br />
echo.<br />
echo Done!<br />
echo.<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo &#8211; FLUSHING ARP TABLES&#8230; -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
@arp -d >nul<br />
echo.<br />
echo Done!<br />
echo.<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo &#8211; FLUSHING DNS&#8230; -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
@ipconfig /flushdns >nul<br />
echo.<br />
echo Done!<br />
echo.<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo &#8211; RENEWING IP&#8230; -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
@ipconfig /renew >nul<br />
echo.<br />
echo Done!<br />
echo.<br />
cls<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo Heres Your Status: -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
ipconfig /all<br />
echo.<br />
echo Press Any Key to Go To Menu<br />
pause >nul<br />
goto prompt</p>
<p>:ping<br />
cls<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo Starting Ping Test&#8230; -<br />
echo &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
echo.<br />
ping google.com<br />
echo.<br />
echo Press Any Key to goto MENU<br />
pause >nul<br />
goto prompt</p>
<p>:quit<br />
cls<br />
echo Thanks For Using The Network Reset Script<br />
pause<br />
exit</p>
<p>:cmd<br />
@color 7<br />
cls<br />
cmd<br />
@echo on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-79</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-79</guid>
		<description>&lt;p&gt;Wow, thanks for sharing this with us.&#160; I created one on my computer and it worked like a charm.&#160; I love the menus and even the change of color.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Wow, thanks for sharing this with us.&nbsp; I created one on my computer and it worked like a charm.&nbsp; I love the menus and even the change of color.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-99</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-99</guid>
		<description>Hi, I just created the refresh.bat with your instructions and found out that it does not work if I just double click it in Vista. I have to actually right click and use the &#039;Run as adminstrator&#039; option to get it to work.

Is there any way around this? I do not want to diable my UAC function in my Vista, just thinking of creating something like a special permission thing for this particular refresh.bat.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, I just created the refresh.bat with your instructions and found out that it does not work if I just double click it in Vista. I have to actually right click and use the &#8216;Run as adminstrator&#8217; option to get it to work.</p>
<p>Is there any way around this? I do not want to diable my UAC function in my Vista, just thinking of creating something like a special permission thing for this particular refresh.bat.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.emergingtechs.com/posts/create-batch-file-easily-refresh-network-settings/comment-page-1/#comment-103</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-103</guid>
		<description>add this to the front of the batch file:

runas /user:local\administrator

it will prompt you for the admin password.  It just does the run as part for you.</description>
		<content:encoded><![CDATA[<p>add this to the front of the batch file:</p>
<p>runas /user:local\administrator</p>
<p>it will prompt you for the admin password.  It just does the run as part for you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
