Windows Command Prompt.
In the Windows Terminal, type the following:
echo $env:COMSPEC
In the cmd, type the following:
echo %COMSPEC%
set
in the cmd.
dir env:\
(or) ls env:\
in the PowerShell.
set COMSPEC=calc.exe
echo "please_subscribe" |clip
echo "please_subscribe" |whoami
echo "a" |type
break |rem
set comspec="notepad C:\test.tx"
set comspec="notepad"
$env:COMSPEC="notepad.exe"
cmd /c "break |rem"
Command prompt line string limitation - Windows Client | Microsoft Learn
Set-ExecutionPolicy RemoteSigned
where rstrui.exe
echo %SYSTEMROOT%
start iexplore
cd %TEMP%
set SYSTEMROOT=%TEMP%
https://youtu.be/p97cmJgChK4
https://youtu.be/PuNgf29Gn8o
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands