How to use Windows command line to open all files under a folder with Notepad

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.