Is it possible to specify what action (run/open/edit) I want to execute on a given file in the command line window? If so how?
Asked
Active
Viewed 149 times
0
-
Related: [How can I launch a file properties dialog from the command line?](http://superuser.com/questions/13290/) – Piotr Dobrogost Sep 04 '11 at 09:24
2 Answers
0
Windows
Run/Open: file or start file
Edit: notepad file
Linux (Gnome environment)
Run: ./file.
Edit: gedit file (for text files)
Open: gnome-run file
Replace file by the filename.
Factor Mystic
- 12,647
- 7
- 47
- 53
RobinJ
- 960
- 5
- 12
0
Use the DOS command assoc to modify the file extension associations. Do
assoc /?
to see the help for it.
e40
- 1,318
- 9
- 10