VG
$LogFile = 'C:\log.txt'
(Start-Process -FilePath 'C:\Program Files\winamp\winamp.exe' -PassThru |
Get-Process).ID | Out-File $LogFile
Get-Date | Out-File $LogFile -Append
Size: a a a
VG
VG
KY
VG
oProcess = GetObject("winmgmts:root\cimv2:Win32_Process")
oProcess.Create "Notepad.exe", , , intProcessID
WScript.Echo intProcessID
A
ProcessBuilder
который возвращает Process
waitForOrKill(long numberOfMillis)
KY
ProcessBuilder
который возвращает Process
waitForOrKill(long numberOfMillis)
O
KY
VG
O
O
VG
ΙΤ
VG
VG
ΙΤ
ΙΤ
VG