I am new to CLI and was trying to open a text file using Visual Studio Code
$ start Visual Studio Code Text2.txt
The result was
The system cannot find the file Visual
I am new to CLI and was trying to open a text file using Visual Studio Code
$ start Visual Studio Code Text2.txt
The result was
The system cannot find the file Visual
You can use "code" instead of "Visual Studio Code".
For example: If there is a file demo.txt, typing below command works.
start code demo.txt