Pregunta

I would like to download a file to null in windows cli just for testing purposes.

In linux i used

wget http://download.thinkbroadband.com/1GB.zip -O /dev/null

This kept my connection busy for a while.

Is there any way to do this in command prompt or power shell in windows 7?

Also other solutions to generate traffic from internet,ut withous saving it to disk, will be accepted.

¿Fue útil?

Solución 2

You can use that exact same command on any Windows with Cygwin. Make sure you select Wget in the package list when installing Cygwin

Otros consejos

Using Windows' (roughly) equivalent NUL device should mimic the Linux behaviour sufficiently:

wget http://download.thinkbroadband.com/1GB.zip -O NUL

Update: Recent builds of wget for Windows are available here.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top