Part 2 works perfect.. Thanks! Part 1... I changed the skip to a higher # and same results. Right now the line reads: for /f "tokens=2 skip=1" %%i in (domlistdomainaliases.txt) do @echo 127.0.0.1 %%i>> domlistfinal.txt And I get: ---------- DOMLISTFINAL.TXT 127.0.0.1 mail.domain1.com 127.0.0.1 mail.domain2.com
Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanford Whiteman Sent: Friday, October 15, 2004 12:53 AM To: isp-lists [at] beachcomp dot com Subject: Re: [IMail Forum] Help with host file script > First, I can not seem to get rid of "---------- DOMLISTFINAL.TXT" in > the file. Then you neeed to "skip=" one more line in the source. > Second and most important, I cant figure out how to make the file > tab delimited and containing the server ip. It doesn't need to be tab-delimited. A space will work fine. Echo 127.0.0.1 %%i instead of just %%i --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. e-mail: [EMAIL PROTECTED] SpamAssassin plugs into Declude! http://www.mailmage.com/products/software/freeutils/SPAMC32/download/release / Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases! http://www.mailmage.com/products/software/freeutils/exchange2aliases/downloa d/release/ http://www.mailmage.com/products/software/freeutils/ldap2aliases/download/re lease/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
