System.IO.Directory Class
Information   Base Types   Related Resources

Exposes static methods for creating, moving, and enumerating through directories and subdirectories.

  • Namespace: System.IO
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (11)Discussions (525)MembersRotorChanges
    Articles

    Page: 1
    A C# Grep Application
    The Code Project
    Presenting a small C# Application which is providing a Grep like functionality under .NET.
    C# Browser History Monitoring Application (Part 1)
    C#Today
    The application developed by Jan Narkiewicz in this article monitors the browser history file of a currently logged in user. As the user surfs the web, the contents of their browser history folder are mirrored to a secure location. Inside the mirrored location (only accessible to administrators on the machine) all additions and updates to the users browser history folder are recorded. Deletions are not recorded. The idea is to monitor a users web surfing habits without letting them know their surfing habits are being monitored.
    C# XML Directory Lister
    The Code Project
    I was looking for a useful little project to start learning C# and the .NET framework. In my job we do a lot of things with XML so I was interested in exercising some of the XML classes. In particular I wanted to see how XML and ADO+ fit together. The result is the code in this project. This code generates a list of entries in a directory as XML. The XML can be returned to the caller as an XML string, a W3C DOM document, or an ADO+ DataSet.
    CleanUp Files using C#
    The Code Project
    This article is just a sample application which uses the .Net framework to delete unwanted files from the directories specified. The Sample uses the System.IO namespace to manage the task and uses a recursive function to delete files.
    Directory Picker in C#
    C# Corner
    This article illustrates the use of a treeview in a directory tree user control. You can use this control to visually select files or directories from any file structure on your computer system.
    DriveComboBox
    The Code Project
    Ownerdrawn ComboBox that dispays all logical drives with appropriate icon, volume name and drive letter.
    How to Check if a Directory Exists or Not
    Edward's Web Developer Site
    This simple code shows how easy it is to use the System.IO class to check if a directory exists or not.
    Implementing XmlReader Classes for Non-XML Data Structures and Formats
    MSDN
    Developers can create a notation for any data structure using only elements and attributes, and can access any data structure with an XmlReader or XmlDocument—as long as they can "translate" it to XML.
    List, Create and Delete Files and Directories
    Edward's Web Developer Site
    This code shows the basic I/O functions for files and directories.
    Visual Studio .NET Custom Wizards
    C#Today
    Visual Studio .NET supports a number of built-in project types and wizards that generate skeleton projects and solutions. These project templates are an excellent way to automate the basic plumbing required for very common project types, such as Windows Applications, Class Libraries and Web Services. Given the wide diversity of developer needs, Visual Studio .NET exposes an extensible architecture, where developers can write their own custom project types and wizards.
    Writing Directory Structure to a Text File
    C# Corner
    This program writes the directory structure of a path to a text file. It is like looking at a file manager with everything expanded.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com