Obtains the list of file names of all files in the folder.

Source: Internet
Author: User
Obtaining the list of file names of all files in the folder is still very useful. for example, I recently used NDK to write Android. mk files need to put all the files under multiple folders *. add the file name of c... in Windows, use cmd to locate the folder to be operated and enter... obtaining the list of file names of all files in the folder is still very useful. for example, I recently used NDK to write Android. mk files need to put all the files under multiple folders *. add the file name of c... in Windows, use cmd to locate the folder to be operated, and enter reference dir *. c/B> c:/cfile.txt parameter meaning: (1 )*. c indicates that the filter suffix is. c File (2)/B is the output mode. Reference/B only contains the file name/w file name and folder information/s file information and folder information (3) c:/cfile.txtfor export. the cfile.txt file on the c drive contains the list of all file names. You can also use dir *. c> cfile.txt to output all *. c file names to cfile.txt in Ubunu. it seems that there is no option for those modes in windows.

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.