Re: Help: Why don't SUBs execute instantly?



Posting ostensibly malicious code such as "RmDir C:\Windows" is no help to anyone.

My, what could possibly go wrong... ;-)
Neila
-------------------

RmDir Statement: Removes an existing directory or folder.

Syntax: RmDir path
The required path argument is a string expression that identifies the
directory or folder to be removed. The path may include the drive. If
no
drive is specified, RmDir removes the directory or folder on the
current drive.

Remarks:
An error occurs if you try to use RmDir on a directory or folder
containing files.
Use the Kill statement to delete all files before attempting to remove
a directory or folder.

.



Relevant Pages

  • Re: Delete folder
    ... If the directory is empty then RmDir works fine. ... If the directory has files then you need to Kill all ... The API has it is own error handling. ... > Is there any built-in function in VB6 that allows me to delete a folder on ...
    (microsoft.public.vb.general.discussion)
  • Re: Batch file executed at startup
    ... > You cannot use rmdir to delete the current directory. ... > Kill explorer.exe and use the command prompt to delete the folder. ... I can't close explorer as then I want have ...
    (microsoft.public.windowsxp.customize)
  • Re: Unable to delete folder
    ... Help - Kill - See Also. ... RmDir Statement ... directory or folder to be removed. ... This example uses the RmDir statement to remove an existing directory or ...
    (comp.databases.ms-access)
  • Re: Unable to remove directory
    ... if I use rmdir or rm -f -r I get the message that the file or directory ... window. ... folder on an xfs server. ...
    (Ubuntu)
  • Re: Unable to delete folder
    ... All the files are deleted in the folder before attempting to delete the ... RmDir Statement ... The required path argument is a string expression that identifies the ... This example uses the RmDir statement to remove an existing directory or ...
    (comp.databases.ms-access)