|
DeleteFile (FileSystemObject オブジェクト)
object.DeleteFile filename, [,option]
引数
解説
ファイルを削除します。 使用例
Set objFso = CreateObject("Scripting.FileSystemObject")
objFso.DeleteFile "c:\test.txt"
objFso.DeleteFile "c:\*.txt"
関連項目
Drives|BuildPath|CopyFile|CopyFolder|CreateFolder|CreateTextFile|DeleteFolder|DriveExists| |
WSHリファレンス
FileSystemObject オブジェクト Drive オブジェクト Folder オブジェクト File オブジェクト Drives コレクション Folders コレクション Files コレクション |