On Tue, 24 Apr 2007, Geraldo Netto wrote:

> and i would like to know how to rewrite it for command, by now i 
> have this:
> for %%p in ( entries separated by spaces ) do nslookup %%p >> 
> nslookup_log.txt
> any idea on how to pass a file as argument?

for %host in (host1 host2 host3) do nslookup %host >> nslookup_log.txt
I'm sure it should work with 4dos.

--
ice <0x696365*gmail,com>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to