HAVIT Knowledge Base

Vývoj webových aplikací, .NET, SQL, návrh
Welcome to HAVIT Knowledge Base Sign in | Join | Help
-
Home Články Forums Obrázky Soubory

Windows

Microsoft Windows - workstation problematika

PAUSE v Powershellu

Příkaz PAUSE známý z BAT souborů v PowerShellu nefunguje, pokud chceme do cmdletu dostat vyčkání na stisk klávesy, můžeme například použít metodu ReadKey:

$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")Je i mraky jiných možností, jak dosáhnout efektu obdobného PAUSE.

Published 21. ledna 2008 9:27 by Robert Haken
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

What do you think?

(required) 
(optional)
(required) 
Enter the code you see below

Submit