May-17-2021, 11:16 PM
I understand how to retrieve arguments from any user input from powershell. However, I want to get what exactly was typed before arguments. For example, for the command entered by user:
Similarly for user input
py myscript.py
, I should print/retrieve py
. Similarly for user input
python myscript.py
, I should print/get python
?