zephyr_hex (Megan)
asked on
Batch file to add line to hosts file
i want to add a line to the hosts file. i'm used to unix programming, and not batch files...
how do i add a line to a file using a batch file?
how do i add a line to a file using a batch file?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Heh, fair enough
Cheers
-Bill
Cheers
-Bill
ASKER
thanks
Be aware that he windows version of echo is stupid enough to copy the quote characters to the output stream, so you would end up with the quotes in the hosts file.