<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FStream_File%2FDirectory</id>
		<title>VB.Net Tutorial/Stream File/Directory - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FStream_File%2FDirectory"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Stream_File/Directory&amp;action=history"/>
		<updated>2026-04-05T19:10:02Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Stream_File/Directory&amp;diff=3712&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Stream_File/Directory&amp;diff=3712&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Stream_File/Directory&amp;diff=3713&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Stream_File/Directory&amp;diff=3713&amp;oldid=prev"/>
				<updated>2010-05-26T12:56:24Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Create a directory==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Try&lt;br /&gt;
            My.ruputer.FileSystem.CreateDirectory(&amp;quot;c:\\a&amp;quot;)&lt;br /&gt;
            Console.WriteLine(&amp;quot;Directory created successfully.&amp;quot;)&lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
            Console.WriteLine(ex.Message)&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Directory created successfully.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get CurrentDirectory==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.IO&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Console.WriteLine(Directory.GetCurrentDirectory)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;C:\Java_Dev\WEB\dev\VB&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Directory contents==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.IO&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
    &lt;br /&gt;
         If Directory.Exists(&amp;quot;c:\\&amp;quot;) Then&lt;br /&gt;
            Dim directoryList As String() &amp;quot; array for directories&lt;br /&gt;
            Dim i As Integer&lt;br /&gt;
            directoryList = Directory.GetDirectories(&amp;quot;c:\\&amp;quot;)&lt;br /&gt;
            For i = 0 To directoryList.Length - 1&lt;br /&gt;
               Console.WriteLine(directoryList(i))&lt;br /&gt;
            Next&lt;br /&gt;
         End If&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;c:\\Documents and Settings&lt;br /&gt;
c:\\Java_Dev&lt;br /&gt;
c:\\oracle&lt;br /&gt;
c:\\Program Files&lt;br /&gt;
c:\\RECYCLER&lt;br /&gt;
c:\\System Volume Information&lt;br /&gt;
c:\\SYSTEM.SAV&lt;br /&gt;
c:\\Temp&lt;br /&gt;
c:\\WINDOWS&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get Directory Creation Time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Option Strict On&lt;br /&gt;
Imports System.Collections.ObjectModel&lt;br /&gt;
Imports System.IO&lt;br /&gt;
Public Module FileSystem&lt;br /&gt;
   Public Sub Main()&lt;br /&gt;
      Dim dirPath As String = &amp;quot;c:\\&amp;quot;&lt;br /&gt;
      If String.IsNullOrEmpty(dirPath) Then Exit Sub&lt;br /&gt;
      If Not Directory.Exists(dirPath) Then Exit Sub&lt;br /&gt;
      &lt;br /&gt;
      Dim dirs As ReadOnlyCollection(Of String) = My.ruputer.FileSystem.GetDirectories(dirPath)&lt;br /&gt;
      For Each dir As String In dirs&lt;br /&gt;
         Dim dirInfo As DirectoryInfo = New DirectoryInfo(dir)&lt;br /&gt;
         Console.WriteLine(&amp;quot;{0} : Created {1}&amp;quot;, dirinfo.Name,dirInfo.CreationTime)&lt;br /&gt;
      Next&lt;br /&gt;
   End Sub&lt;br /&gt;
End Module&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Documents and Settings : Created 27/08/2006 3:16:44 PM&lt;br /&gt;
Java_Dev : Created 28/08/2006 5:04:26 PM&lt;br /&gt;
oracle : Created 28/08/2006 7:04:13 PM&lt;br /&gt;
Program Files : Created 27/08/2006 3:20:18 PM&lt;br /&gt;
RECYCLER : Created 28/08/2006 7:30:41 PM&lt;br /&gt;
System Volume Information : Created 27/08/2006 3:16:44 PM&lt;br /&gt;
SYSTEM.SAV : Created 27/08/2006 11:01:08 PM&lt;br /&gt;
Temp : Created 28/08/2006 7:19:38 PM&lt;br /&gt;
WINDOWS : Created 27/08/2006 3:07:16 PM&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>