| DeleteFile |
|
|
|
|
long DeleteFile( LPSTR FileName // file name );
long DeleteFile( LPWSTR FileName // file name );
DeleteFile( FileName As Variant // file name ) As Long
Unicode version of the method should not be confused with Unicode system calls or Unicode text data. All versions of the method can be used on Unicode and non-Unicode systems depending on your needs. On Unicode systems, however, file is deleted using Unicode version of system function (unless Unicode is disabled with EnableUnicode method). Conversion between ANSI and Unicode is performed internally according to current codepage which can be changed with SetCodePage method. See Unicode Support for more information on Unicode system calls, Unicode methods and Unicode text data.