Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-01-2007, 09:58 PM   #1 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Renew IP address ...... making a bat file

Well , can someone help me making a file that does this in cmd--
ipconfig /flushdns
ipconfig /release
ipconfig /renew
exit

Well , i dont want to write this again n again in cmd , so can someone plz. make a file of it .
Thanks.
rahul_becks23 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-01-2007, 10:17 PM   #2 (permalink)
-- No Easter Eggs here --
 
hemant_mathur's Avatar
 
Join Date: Apr 2006
Location: Front of my pc
Posts: 945
Default Re: Renew IP address ...... making a bat file

Here u go .. just rename the file to .bat
Attached Files
File Type: txt renip.txt (59 Bytes, 38 views)
__________________
E6850 3.0 Ghz, 4gb 667 Mhz RAM, Asus p5n Esli Mobo, Nvidia 8600GT 512mb, 400gb WD HDD, Samsung Syncmaster 920NW, Vista x64
hemant_mathur is offline  
Old 21-01-2007, 10:22 PM   #3 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,162
Default Re: Renew IP address ...... making a bat file

Quote:
Originally Posted by rahul_becks23
Well , can someone help me making a file that does this in cmd--
ipconfig /flushdns
ipconfig /release
ipconfig /renew

exit

Well , i dont want to write this again n again in cmd , so can someone plz. make a file of it .
Thanks.
You have answered yourself. Just fire up the notepad and type what you have written here, and save it as abcd.bat. You can use any name but the extension should be .bat. Run it and you are done! Simple
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 21-01-2007, 10:23 PM   #4 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Renew IP address ...... making a bat file

i had already tried that but it didnt seem to be work.
Well , my ip renews itself when i reconnect to my dialup but its not happening with the bat way , can u help me here.
rahul_becks23 is offline  
Old 21-01-2007, 10:40 PM   #5 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,162
Default Re: Renew IP address ...... making a bat file

Its a rare case that each time you click release and renew, you will get a new address. It depends on the the Server. This generally occurs during the daytime when the service provider is busy and a lot of users are switching
on and off. In this case renewing may give you a new ip address. But in the night when the server is not that busy, clicking on renew will only give you the same address.

See if your modem supports both LAN and USB. In that case, if you disable LAN and connect using USB, you will surely get a new ip address.

Another way to get a new ip address is to boot into another operating system, Say from XP to 98 or vice versa.
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 21-01-2007, 10:59 PM   #6 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Renew IP address ...... making a bat file

but my ip addresss renews when i disconnect and connect again ...... i dont need to restart my modem or computer .............but it dosent happen with a bat file. I dont know whats wrong .
rahul_becks23 is offline  
Old 21-01-2007, 11:49 PM   #7 (permalink)
In The Zone
 
premsharma's Avatar
 
Join Date: Sep 2004
Location: Behind You
Posts: 421
Exclamation Re: Renew IP address ...... making a bat file

Quote:
Originally Posted by rahul_becks23
i had already tried that but it didnt seem to be work.
Well , my ip renews itself when i reconnect to my dialup but its not happening with the bat way , can u help me here.
You need to disconnect before trying out this IP flushing bat and then reconnect after it compltes flushing. You need it for RS??? Right
premsharma is offline  
Old 22-01-2007, 12:16 AM   #8 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,162
Default Re: Renew IP address ...... making a bat file

Quote:
Originally Posted by premsharma
You need to disconnect before trying out this IP flushing bat and then reconnect after it compltes flushing. You need it for RS??? Right
LOL
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 22-01-2007, 08:13 PM   #9 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Renew IP address ...... making a bat file

of-course .......... whats to lol in this dummyhead .....
rahul_becks23 is offline  
Old 22-01-2007, 09:35 PM   #10 (permalink)
Right Off the Assembly Line
 
sounik's Avatar
 
Join Date: Jan 2007
Posts: 9
Default Re: Renew IP address ...... making a bat file

try dis...
ipconfig /release *con*
ipconfig /renew
exit

it works wit my router....
sounik is offline  
Old 22-01-2007, 09:51 PM   #11 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Renew IP address ...... making a bat file

whats with -con- ............. dante
rahul_becks23 is offline  
Old 22-01-2007, 11:23 PM   #12 (permalink)
Still Shining!
 
Lucky_star's Avatar
 
Join Date: Nov 2006
Location: Up 'n' above
Posts: 1,162
Default Re: Renew IP address ...... making a bat file

^^ Its the name of the connection.
__________________
Simplicity is the ultimate Sophistication
HP dv6 6121tx: Core i7 2630 QM | 4GB | AMD 6770M 2GB GDDR5 | 640 GB
Nokia N86 8MP
Lucky_star is offline  
Old 23-01-2007, 07:00 AM   #13 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2005
Posts: 33
Default Re: Renew IP address ...... making a bat file

i use rasdial to disconnect and reconnect
works for me with rapidshare (browser opera with cookies disabled)
contactram is offline  
Old 23-01-2007, 09:20 AM   #14 (permalink)
Right Off the Assembly Line
 
sounik's Avatar
 
Join Date: Jan 2007
Posts: 9
Default Re: Renew IP address ...... making a bat file

like Lucky_star said it is d name of d connection.. d command will release ip of all active connections... so if u are on networkin dont use it instead use the specific connection name..
if d commands u hav stated first works then make individual batch files of dem and rund them in order
sounik is offline  
Old 23-01-2007, 11:18 PM   #15 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Renew IP address ...... making a bat file

well , which conn . , ihave a LAN conn. and a bsnl dialup conn. ......n both need to be active .
and whats rasdial ..........??
rahul_becks23 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2