How to start Snipping Tool from PowerShell? -
i trying use snipping tool command line. can run run box, despite how try , different ways cannot open snipping tool on windows 7 powershell. sick of having use mouse open snipping tool.
start process:
[system.diagnostics.process]::start("c:\windows\system32\snippingtool.exe")
call operator:
& "c:\windows\system32\snippingtool.exe"
dot-sourcing:
. c:\windows\system32\snippingtool.exe
using inovke-item
:
ii "c:\windows\system32\snippingtool.exe"
change directory:
ps c:\windows\system32> ./snippingtool.exe
try using start-process "c:\windows\sysnative\snippingtool.exe"
-edit add, if run x86 (32-bit) powershell console, you'll have use sysnative because on 64-bit system, c:\windows\system32 64-bit processes. open x64 powershell console, , c:\windows\system32 work expected. additionally, c:\windows\syswow64 contains 32 bit binaries. safe , use c:\windows\sysnative
, won't have think type of thing.
Comments
Post a Comment