Http://zhidao.baidu.com/question/2138815012359999388.html
___________________________________________________
My question:
In Linux, you can directly use the
Gedit 1.c 2.c 3.c .... Open multiple files directly;
Gedit * Open all files under the current folder.
Excuse me
How do I use Windows commands to achieve a similar effect?
Let's say I use Notepad as a text editing software.
1 Open all files under the current folder
2 Open the current folder under the. C Suffix file
3 recursively open all files under the current folder and sub-directories
The simplest way to do it, I already know.
If I am using notepad++, first add Notepad++.exe folder to the path path.
When practical, bring up the cmd window,
Enter notepad++ * to open all files.
notepad++ *.c, you can open all. c files.
___________________________________________________
Margin * seek * fish:
The command line parameters of each software are the author's own design,
No need to copy or test,
You only need to check the help documentation for each of the software itself.
If notepad++:
Open [?] Menu >> Command Line Arguments
or >> help.
▲ Recursive use:-r
Other than that
The command line can generally take a path without having to go to a path first.
The ▲cmd window supports drag-and-drop. Drag the program/file into the path text.
▲ The command line does not have to be used in a CMD window. [Run], shortcut, program call ...
How to use Windows command line to open all files under a folder with Notepad