バッチファイルから文字が入力された状態のPowerShellを起動する
618 ワード
需要があるかわかりませんが。
test.bat
SET str=aaaa
start Powershell -NoExit -Command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SendKeys]::SendWait(\""%str%"\")"
Author And Source
この問題について(バッチファイルから文字が入力された状態のPowerShellを起動する), 我々は、より多くの情報をここで見つけました https://qiita.com/gyojir/items/811aba4b5b9f5b89fa53著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .