how to open a new file using cmd for vs code code example Example: vs code a project folder from the command line cd my-project-folder/ code -n .