8/28/2006 6:26:00 PM
 Gary K Posts: 2
|
I need to add text in the host file but need to append to orignal file.<br>I was able to open file but need to open it in notepad and use a text file to add the text like below.<br>I want this to be EXE file to work on any windows xp system.<br>Example:<br><br>127.0.0.1 localhost<br>127.0.0.1 badplace.com<br>127.0.0.1 website.com<br>need to add a new site here <br>and here <br>and here<br>etc...<br><br>Thanks in advance for any help.<br>Gary K.<br><em>edited by Gary K on 8/28/2006</em>
|
|
• permalink
|
8/29/2006 8:37:40 AM
 jitbit Administrator Posts: 1305
|
here are the actions the macro should perform: launch notepad.exe, open the hosts file, Ctrl+End to go to the end of the file, and type the needed text.
|
|
• permalink
|
8/29/2006 9:12:18 PM
 Gary K Posts: 2
|
Thank you for the responce , I cannot get focus on the host file into notepad without a file open command in notepad.<br>I will try a append macro to open into notepad.<br>Nice software I just need to learn some steps.<br><br>Gary K.
|
|
• permalink
|