Home Posts tagged "Files" (Page 2)
formats

Delete one File in any Directory

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer. Windows 2000 and Windows XP syntax Deletes one or more files. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names   Specifies a list

Read More…

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Delete all Files in a Folder

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names

Read More…

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Delete all Fles in a Folder Matching a Pattern

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Delete all “Read Only” in a Specific Folder

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Delete all Temporary Files

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Get File Information

System.IO.DirectoryInfoclass exposes instance methods for creating, moving, and enumerating through directories and subdirectories. Public Function GetFileInfo( ByVal sourceFile, ByRef fileInfo ) Dim srcInfo GetFileInfo = False Set srcInfo = DotNetFactory.CreateInstance( “System.IO.FileInfo”,, sourceFile ) Set fileInfo = CreateObject( “Scripting.Dictionary” ) ‘ ** Determine whether the source file exists. If Not srcInfo.Exists Then Reporter.ReportEvent micWarning, “GetFileInfo”, “Source

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Creating a Text File

System.IO.File class provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. The CreateText method creates or opens a file for writing UTF-8 encoded text. The following example demonstrates some of the main members of the File class. Dim pathStr Dim sysIoFile, sw pathStr

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Write to a Text File

System.IO.File class provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. The System.IO.StreamWriter class implements a TextWriter for writing characters to a stream in a particular encoding. The following code examples show how to write text to a text file. The first example

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments