Skip to content

windows_command

命令

添加当前folder path到system path

shell
setx path "%path%;%cd%"

显示进程及命令

powershell
Get-CimInstance Win32_Process | Where-Object { $_.CommandLine -ne $null } | Select-Object -Property ProcessId, Name, CommandLine