質問

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.

役に立ちましたか?

解決 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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top