create a file type for a virtual directory in IIS using a command line script 
Author Message
 create a file type for a virtual directory in IIS using a command line script

Is it possible to create a file type for a virtual directory in IIS
using a command line script?

Just to be clear, here is how to do it manually:
1)create a virtual directory
2)in "Internet Information Service", double click on your virtual
directory in step 1 --> right click on one of its sub folder --> click
on "Properties" --> click on "HTTP Headers" tab --> in the "MIME Map"
section, click on "File Types" then create a new file type.

thanks,
tnsjus



Sun, 19 Dec 2004 04:43:43 GMT  
 create a file type for a virtual directory in IIS using a command line script
http://www.readthefu ckingmanual.co.uk/

(remove the space for the url)

the current headline article is about this subject

function String.prototype.r(){// Javascript rot13 en/decipherment. run
me for Atrax's signature
        var a='nopqrstuvwxyz';var b='abcdefghijklm';var j='/:.'+a+b;var
k='/:.'+b+a;var l='';
        for(var
x=0;x<this.length;x++){l+=k.charAt(j.indexOf(this.charAt(x)));}return l;

Quote:
}       alert("uggc://jjj.ernqgurshpxvatznahny.pb.hx/".r()); // Atrax, MVP

2002.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 19 Dec 2004 12:39:02 GMT  
 create a file type for a virtual directory in IIS using a command line script

Quote:

> http://www.readthefu ckingmanual.co.uk/

> (remove the space for the url)

> the current headline article is about this subject

> function String.prototype.r(){// Javascript rot13 en/decipherment. run
> me for Atrax's signature
>    var a='nopqrstuvwxyz';var b='abcdefghijklm';var j='/:.'+a+b;var
> k='/:.'+b+a;var l='';
>    for(var
> x=0;x<this.length;x++){l+=k.charAt(j.indexOf(this.charAt(x)));}return l;
> }  alert("uggc://jjj.ernqgurshpxvatznahny.pb.hx/".r()); // Atrax, MVP
> 2002.

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

thank you very much. however, this is very close to what i am looking for
but it is not what i am looking for.

i want the "File Types" to attach to a folder instead of the web server.

for more information:

1)create a virtual directory called "MyVirtualDirectory"
  that points to "MyVirtualDirectory" folder
  (this "MyVirtualDirectory" folder contains a sub directory
   called "MySub").
2)run "your script" to create a file type that attaches to "MySub" folder.
  ("your script" is the script that i am looking for)
3)go to "Internet Information Service",
  double click on "MyVirtualDirectory" to expand this folder,
  you should see "MySub" folder,
  click on "MySub" folder,
  right click of "MySub" folder,
  click on "Properties",
  click on "HTTP Headers" tab,
  in the "MIME Map" section, click on "File Types",
  and i should see a registered file type in the white window
  that got created in step 2.

thanks,
tnsjus



Sun, 26 Dec 2004 06:14:09 GMT  
 
 [ 3 post ] 

 Relevant Pages 

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

2. Create IIS Virtual Directory Automatically

3. Creating IIS Virtual Directories on the Fly

4. Create IIS Virtual Directory Automatically

5. Add virtual directory for IIS using VB (or Win32API)

6. Files in IIS virtual directory

7. Creating virtual directory using wsh

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

9. Script creating virtual directories on PWS?

10. Upload files using aspSmartUpload to virtual directory

11. IIS virtual directory subfolder question

12. IIS Virtual Directory deleting

 

 
Powered by phpBB® Forum Software