
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