Powershell - open two files, terminals at same time?

Associate
Joined
26 Jul 2020
Posts
796
trying to run two python scripts, in two different windows at the same time (from PS batch file)

can only get the first one to open:

trying this:

Code:
PowerShell -NoExit "& 'C:\Python34\TKserverTest1'; Write-Host 'This window will stay open.'"
start powershell | PowerShell -NoExit "& 'C:\Python34\TKclientTest1'; Write-Host 'This window will stay open.'"

any help would be great, thanks
 
I'll have a look at that, thanks.

and ideally, I'll have an icon on the desktop (Windows) to just right click 'Run in Powershell' and that will pop open 3 terminals each running its own Python script - is that possible?
 
Back
Top Bottom