Fred Stluka on 4 Sep 2009 12:25:24 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Faking "sleep" on Windows via: ping -n 5 localhost > NUL


JP Vossen wrote:
> As a totally OT example, Windows lacks a 'sleep 5' command but you can
> trivially fake it like this: 'ping -n 5 localhost > NUL'.  Not 
> guaranteed to be 5 seconds exactly, but...
Cool!  Thanks!  I wrote my own years ago, but could have not bothered.

--Fred
---------------------------------------------------------------------
Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
---------------------------------------------------------------------


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug