(1). Description
Use the Treeview control to implement the resource manager, display all folders and files on the local hard disk, and view images
(2). Image example
(3). Code
Using system;Using system. drawing;Using system. collections;Using system. componentmodel;Using system. Windows. forms;Using system. Data;Using system. IO;
Convert namespace image format to II{/// /// Summary of form1./// Public c
To view the space occupied by a directory:
Du-sh Directory
See how many files are in a directory:
Find Directory-type F | Wc-l
Find command Example
Find how many C files are in the current directory
Find./-type f-name "*.C" | Wc-l
Find command Simple explanation
The parameter-type represents the type of file, and the file type corresponds to the following
Tags: style blog http io color os ar for SPThe log generated by SQL Server installation is stored in this directory:
"%ProgramFiles%\Microsoft SQL server\[sql_version]\setup bootstrap\log\"
Note: [Sql_version] is a specific version of SQL Server, such as SQL Server 2008 is, SQL SERVER2014 is 120
There are many log files in this directory, which are divided into folders by the time the SQL Server installation package is run.Notice tha
When the information in the VC workspace Class View is incorrect (. CLW ,. NCB ,. OPT ,. APS ,. PLG) is deleted and re-generated, which may solve the problem of error display in the workspace Class View.
The. CLW file is the VC Class Wizard information file. Stores information about the Class Wizard. Files generated by ClassWizard to store class information. Clas
View the number of files and directories under Linux1. View the total number of current files and directories (excluding subdirectories):Ls-l | Wc-l2. View the number of files in the current directory (excluding subdirectories):Ls
When you look at unity inside the API, is not sometimes tracked one or two steps to hit the DLL file will not go down? It's very unpleasant.I often encounter this kind of problem. This is someone else's business engine don't want you to see the underlying code, so worry not.However, today I finally have a way to solve the problem. That is to use the anti-compile DLL file! Simple, rough. But in order to understand the underlying structure, this is also a way to do oh.Ok! Long winded, let me take
Reprint Label Source Oh! The original address is here! Over here!When you look at unity inside the API, is not sometimes tracked one or two steps to hit the DLL file will not go down? It's very unpleasant.I often encounter this kind of problem. This is someone else's business engine don't want you to see the underlying code, so worry not.However, today I finally have a way to solve the problem. That is to use the anti-compile DLL file! Simple, rough. But in order to understand the underlying str
Homage to yang-fei-there is a simple usage example:Http://www.cnblogs.com/yang-fei/p/4885570.html.The guy who wrote moonpdfpanel about this open source software implementation Introduction:Https://www.codeproject.com/articles/579878/moonpdfpanel-a-wpf-based-pdf-viewer-controlQuestion 1:Description: Libmupdf.dll cannot be loadedWorkaround: libmupdf.dll是用C++写的。把它放到 the Debug or Release folder is fine. The upper layer is called by P/invoke.Question 2:Description: When loading a PDF file over 250 pa
[Email protected] ~]# cat/etc/os-releaseName= "Red Hat Enterprise Linux Server"Version= "7.2 (Maipo)"Id= "Rhel"Id_like= "Fedora"Version_id= "7.2"Pretty_name= "Red Hat Enterprise Linux Server 7.2 (Maipo)"Ansi_color= "0;31"Cpe_name= "Cpe:/o:redhat:enterprise_linux:7.2:ga:server"Home_url= "https://www.redhat.com/"Bug_report_url= "https://bugzilla.redhat.com/"redhat_bugzilla_product= "Red Hat Enterprise Linux 7"redhat_bugzilla_product_version=7.2redhat_support_product= "Red Hat Enterprise Linux"redh
PHP How to view directory size and other information, PHP How to copy directories and delete files, PHP recursively delete directories and subdirectories of the custom function code, you can recursively query the directory file size, so as to count the directory size.
First, PHP directory functionsRecursively queries the file size in the directory to count the directory size.Copy Codecode example:
When browsing the Internet, you often need to view the source code of HTML files on the webpage. Notepad features are relatively simple. Many friends prefer to use a third-party text file editor, such as UltraEdit.So what if we asked IE7 to automatically call our favorite text editor instead of the default notepad when viewing the webpage source file?
1. Enter "regedit" in the search box of the Start menu
Download windbg
The latest program automatically jumps out of the client.
Check the code.
Start to study how to view dump files.
Select compilation settings
After rebuildall, create the same path as the path of the client program locally. For example, the path of the file to be debugged on the client is D:/test/test1.exe.
Create the same directory locally and copy the generated PDB file an
Viewfile.bat (opens the selected file for the directory)explorer/e,/select,%1Viewjava.bat (opens the appropriate. java file for the selected file name) @echo offSet calssdir=%1Set package=%2Set package=%package:.=\%REM Open the form and select the specified fileEcho%calssdir%Echo%package%Explorer/e,/select,%calssdir%\%package%.javaViewclass.bat (opens the appropriate. class file for the selected file name)@echo offSet calssdir=%1Set package=%2Set package=%package:.=\%REM Open the form and select
/locales/supported.d/local, you can find more than one line in the file: ZH_CN. GB18030 GB18030. Description added successfully.2. By modifying the/var/lib/locales/supported.d/local fileIn Terminal input command linesudo gedit/var/lib/locales/supported.d/localYou can see something like this:Zh_cn. UTF-8 UTF-8en_US. UTF-8 UTF-8Add Chinese character set at end of fileZH_CN GB2312Exit after saving. In the terminal input command:sudo dpkg-reconfigure localesFinally, restart Ubuntu.After reboot in th
Hexdump-ascii, decimal, hexadecimal, octal dumpView the preferred tool for the 16 mechanism.-c displays the corresponding ASCII code in bytes per unit-c per unit in bytes with 16 mechanism and ASCII code displayedCases:[Email protected] code]$ hexdump-c txtfile0000000 t h e q u i c K f o x J u0000010 m P O v e r L A z y d o g0000020 s \ n0000022[Email protected] code]$ hexdump-c txtfile00000000---------6b, 6f, 6a, |the quick Fox ju|00000010 6d 6f, 6c, 7a, 6f, |mp over lazy dog|00000020 0a |s.|00
keyword n Toggle keyword upCommand for the last-line mode:: Nohl Suppress highlighting: Set Nu Sets line number: Set Nonu Cancel line number: W Save: Q exit: Wq Save and exit: wq! Force Save and exit: W/tmp/aa Save As: e/root/passwd Discard current file edit, open new file:! + command to execute commands without interrupting the current edits:! Date: R + File path reads other file contents at cursor location and inserts: r/root/cal: S/student/chen The first student replacement of the line where
a summary of them, see. TX can start from my picture, grasp the main line of the framework, lest lost in the boundless Tears (class) Sea:-)
In general, the model does not really store data (the data can be stored directly in the model), its data is obtained from the real "meat (raw)", such as a disk file, or database query result set and so on. So what is this model for? To put it bluntly, it is responsible for acquiring and providing the "meat" data to the
I suddenly feel that there is no file on the hard drive but it takes up a lot of storage space. Some files are hidden but not deleted. So how does the computer view hidden folders and files? Here is a brief introduction for you, to see!
Method/Step
1, first turn on my computer
2, click the Tool-Folder Options
3, then click
[Ios learning records]-Customize table view units through nib files
There are two ways to add a custom table view Unit: one is to add a child View to the program when creating the unit, and the other is to load them from the mirror or nib file, here we use the second method.
Generally, the ios data list contains two
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.