Deleteing a Virtual directory thru scripts 
Author Message
 Deleteing a Virtual directory thru scripts

Hi!
How can I delete an existing virtual directory from ASP Pages using
scripts

I used
Set objVDirApp = GetObject("IIS://localhost/W3SVC/1/Root/" &
strVirtualDirName)

 objVDirApp.AppDelete
 Set objVDirApp = nothing

I am not getting error for this
But its not getting deleted too.

Devanand



Tue, 13 Jan 2004 17:22:53 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Using AppGetStatus on IIS web directory or virtual directory object

2. create a file type for a virtual directory in IIS using a command line script

3. Need a script for creating virtual FTP directories IIS4.0

4. Script creating virtual directories on PWS?

5. Virtual Directory : Default Document using vbscript

6. FSO with virtual Directory

7. Virtual directories

8. Accessing a Virtual Directory

9. Create IIS Virtual Directory Automatically

10. Problems with FileExists in a virtual directory ?

11. Can FSO work with files on virtual directory?

12. Upload files using aspSmartUpload to virtual directory

 

 
Powered by phpBB® Forum Software