Results 1 to 5 of 5

Thread: How to find a directory ???

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2004
    Posts
    14

    How to find a directory ???

    Can anyone help me ???


    I need to be able to write some asp.net code (if it can be done) to find the directory/path to a user's Temporary Internet Files folder. I do not want to hard code anything. Is there a shell function or something I can use to establish this path, in order to check the files that are there!

    Once I get this it will be a great help. Hopefully someone can help me.

    Thx very much in advance!

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    You won't be able to do this on the clients machine, if that's what you are wanting to do.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2004
    Posts
    14
    Thx for that reply .... I figured that, but I need to know for the my webserver!


    Also, is there a way (which I am sure there is) to STOP files being written to the client PC to their Temp Internet Files folder. If so, can you help. And if it isn't too much, details would be great!


    Thx for your help!

  4. #4
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    Use DirectoryInfo class in the System.IO namespace.

    Why would you want to stop pages from being written to the temp file location? Files are written there to allow sites to load faster when revisiting.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2004
    Posts
    14
    thx for taking the time to reply .... I have my problem solved!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width