Delete temporary files quickly

Source: Internet
Author: User

From: http://www.cppblog.com/kangnixi/archive/2010/01/28/106609.html

 

1. Problem Description

In VC Programming debugging, the generated debugging information is generally stored in the Debug folder, and there is also *. ncb ,*. opt ,*. aps and other files lead to too many temporary files in the program, which is inconvenient to manage. How can we quickly clear the generated temporary files?

2. Implementation skills

Select the corresponding project in the FileView view of the workspace, right-click the project, and select the Clean menu item from the shortcut menu to delete the Debug folder.

The above method only quickly clears files under Debug, and also a quick method to delete files using batch processing.

Create a text file and rename it Clear. bat. Open the file using notepad. The content is as follows:

Del *. obj *. pch *. sbr *. pdb *. idb *. ilk *. ncb *. opt *. aps/s

Run batch processing in the root directory of the project to delete the temporary files.

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.