Forum Discussion
AndrewBlake
Aug 08, 2024Copper Contributor
How to Open wt.exe on a Clear Screen
I'm finding this to be quite a simple task, but I just can't seem to find the solution. Upon executing wt.exe with the parameter "-p "Windows PowerShell"" and wt.exe with the parameter "-p "Comma...
EWilson380
Aug 23, 2024Iron Contributor
If you're looking for a more general solution that works for both PowerShell and Command Prompt, you can try using the following command:
wt.exe -p "Windows PowerShell" | type nul | cls
This will run the wt.exe command, pipe the output to the type nul command, which discards the output, and then pipe the output to the cls command, which clears the screen.
wt.exe -p "Windows PowerShell" | type nul | cls
This will run the wt.exe command, pipe the output to the type nul command, which discards the output, and then pipe the output to the cls command, which clears the screen.