ASP directory browsing page

Discussion in 'ASP General' started by Stephen Green, Sep 7, 2004.

  1. I'm using the code found at http://support.microsoft.com/?kbid=224364 called
    Creating a Directory Browsing Page Using ASP.

    The code works fine. I would like to find a way NOT to show hidden files or
    folders. I don't know (if it's possible) how to test for the hidden
    attrobute and create an IF condition that will allow only non-hidden files
    and folders to show up.

    Also, can anyone suggest how to add an "up directory" link (like you might
    see in Windows Explorer) to this page?

    Thanks for any help you can offer.

    Stephen
    Stephen Green, Sep 7, 2004
    #1
    1. Advertising

  2. "Stephen Green" <> wrote in message
    news:...
    > I'm using the code found at http://support.microsoft.com/?kbid=224364
    > called
    > Creating a Directory Browsing Page Using ASP.
    >
    > The code works fine. I would like to find a way NOT to show hidden files
    > or
    > folders. I don't know (if it's possible) how to test for the hidden
    > attrobute and create an IF condition that will allow only non-hidden files
    > and folders to show up.
    >
    > Also, can anyone suggest how to add an "up directory" link (like you might
    > see in Windows Explorer) to this page?
    >
    > Thanks for any help you can offer.


    Can we stick to the original thread?

    --
    Tom Kaminski IIS MVP
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    http://mvp.support.microsoft.com/
    http://www.iisfaq.com/
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
    http://www.tryiis.com
    Tom Kaminski [MVP], Sep 7, 2004
    #2
    1. Advertising

  3. Stephen Green

    Roland Hall Guest

    "Tom Kaminski [MVP]" wrote in message
    news:chl5k8$...
    : "Stephen Green" wrote in message
    : news:...
    : > I'm using the code found at http://support.microsoft.com/?kbid=224364
    : > called
    : > Creating a Directory Browsing Page Using ASP.
    : >
    : > The code works fine. I would like to find a way NOT to show hidden
    files
    : > or
    : > folders. I don't know (if it's possible) how to test for the hidden
    : > attrobute and create an IF condition that will allow only non-hidden
    files
    : > and folders to show up.
    : >
    : > Also, can anyone suggest how to add an "up directory" link (like you
    might
    : > see in Windows Explorer) to this page?
    : >
    : > Thanks for any help you can offer.
    :
    : Can we stick to the original thread?

    Where is it?
    Roland Hall, Sep 8, 2004
    #3
  4. "Roland Hall" <nobody@nowhere> wrote in message
    news:%...
    > "Tom Kaminski [MVP]" wrote in message
    > news:chl5k8$...
    > : "Stephen Green" wrote in message
    > : news:...
    > : > I'm using the code found at http://support.microsoft.com/?kbid=224364
    > : > called
    > : > Creating a Directory Browsing Page Using ASP.
    > : >
    > : > The code works fine. I would like to find a way NOT to show hidden
    > files
    > : > or
    > : > folders. I don't know (if it's possible) how to test for the hidden
    > : > attrobute and create an IF condition that will allow only non-hidden
    > files
    > : > and folders to show up.
    > : >
    > : > Also, can anyone suggest how to add an "up directory" link (like you
    > might
    > : > see in Windows Explorer) to this page?
    > : >
    > : > Thanks for any help you can offer.
    > :
    > : Can we stick to the original thread?
    >
    > Where is it?


    in microsoft.public.inetserver.iis ...

    --
    Tom Kaminski IIS MVP
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    http://mvp.support.microsoft.com/
    http://www.iisfaq.com/
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
    http://www.tryiis.com
    Tom Kaminski [MVP], Sep 8, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Katrina

    directory browsing

    Katrina, Dec 1, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    390
    Steve C. Orr [MVP, MCSD]
    Dec 1, 2003
  2. Stuart Ferguson

    Directory Browsing from Web Page

    Stuart Ferguson, Sep 22, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,647
    Stuart Ferguson
    Sep 22, 2005
  3. Joe Kovac
    Replies:
    2
    Views:
    329
    bruce barker
    Oct 11, 2007
  4. Replies:
    1
    Views:
    826
    Michael Nemtsev
    Dec 13, 2007
  5. MeAndI

    Asp & directory browsing

    MeAndI, Jan 9, 2004, in forum: ASP General
    Replies:
    0
    Views:
    118
    MeAndI
    Jan 9, 2004
Loading...

Share This Page