NetWare、Symbian OS、UNIX、Windows、および Windows CE で有効です。
DeleteTree または DelTree 関数は、すべてのサブディレクトリを含めて、指定されたディレクトリを(空でない場合も)削除します。
注: 指定したディレクトリは、書き込み保護されていない必要があります。
ファイルの内容に関するこの関数の形式は、以下のとおりです。
DeleteTree(pathname as String) as Boolean
DelTree(pathname as String) as Boolean
削除するツリーのパスを指定します。
この関数が正常に完了すると、TRUE が返されます。それ以外の場合は、FALSE が返されます。
例: DeleteTree 関数
Rem Rem By deleting the directory bak this forces a full collect next time Rem the Unicenter Asset Management agent is executed. Rem DeleteTree(ComputerPath+"bak") Rem ComputerPath is a Unicenter Asset Management constant
|
Copyright © 2013 CA.
All rights reserved.
|
|