Joe Caverly Aug 2,799 144 2026-04-07 #1 The % sign causes nothing to be displayed. Code: R:\>pshell /s "tccvar '%_pid'" R:\>pshell /s "tccvar '_pid'" 107856 Ref: PSHELL - Execute a PowerShell script or string Joe
The % sign causes nothing to be displayed. Code: R:\>pshell /s "tccvar '%_pid'" R:\>pshell /s "tccvar '_pid'" 107856 Ref: PSHELL - Execute a PowerShell script or string Joe
Joe Caverly Aug 2,799 144 2026-04-07 #2 Well, it does work, but only from within a .ps1 file; Code: R:\>ver TCC 36.00.19 x64 Windows 10 [Version 10.0.19045.7058] R:\>pshell test.ps1 107856 R:\>type test.ps1 tccvar '%_pid' Joe
Well, it does work, but only from within a .ps1 file; Code: R:\>ver TCC 36.00.19 x64 Windows 10 [Version 10.0.19045.7058] R:\>pshell test.ps1 107856 R:\>type test.ps1 tccvar '%_pid' Joe