


Problem, depending on how it's used, but I haven't found a secure built-in This makes start (and explorer) a potential security I haven’t found a Windows command that will easily open files Start will execute that program, not open a viewer of it. Note that if it’s a local filename, and it’s executable, This is a built-in of cmd, so other programs can’t invoke it as “start”,īut other programs can invoke it this way: You want the start command when running a command line (cmd.exe) Of different platforms (Windows, MacOS, Linux/Unix, and Cygwin). Here’s how to open files or URLs from the command line, on lots Navigating in that directory (use “.” for the current directory), You can then pass it a filename (to open that file using theĭefault application for that file type), a directory name to start This is really handy when you’re writing a program, because these are Nearly all operating systems have a simpleĬommand to open up a file, directory, or URL from the command line.

How to easily open files and URLs from the command line How to easily open files and URLs from the command line David A.
