Is this possible and how do I do it? Dear Kollars, If you have new file names need to import, you should apply the Filename List again. And it will import all the filenames once more. Thank you Skyyang. It would be good to have a way to import only selected files into the list. Maybe a feature you could include in a future release. Hi, Kollars, We will consider your suggestion, thank you very much! Excellent help and clear instructions, appreciate the time spent on this. You can use the terminal as well.
Start cmd. Run the command 'notepad. Open Excel. I wish more Windows users could use the terminal to solve simple things like this. This is great! You can also just put the line:. You could even have excel read in the external txt file, so you only need to double click the batch file to refresh the data in excel. When you have imported your text into Excel, it's still text.
It's in long lines of text you then need to write formulas for, to break it up into useable data. Then you need to manually remove the superfluous data and blank lines you don't need. This solution is a way of getting a list of files into Excel, but without a huge amount of manual manipulation, it's useless. Great Info! Easy and to the point.
Love your work. Thank you for the simple solution! Excellent info! This saved hours of work! Thank you! Web-browser worked like a charm! Saved me hours of work. Can i auto update the list of files imported in excel?
Thanks bro! Tips like these makes the internet win! Keep up the great work! Thank you. It helped me to copy list of files in a folder to bring in Excel. Thanks u so much , i am trying to find out solution from many days.. Thank you..
It is useful information. We can paste directly into excel and select remove duplicate option to see the list details. Thank you for the macro to list files in a directory. It worked awesome. I searched everywhere for this and I cannot begin to tell you how complicated they made it; yours is so simple. Thankyou very much sir for your wonderful input.
Very good website. Learn a lot from it. I'd used batch files before but that is one neat trick with Excel! Add this line in the loop to generate hyperlink for the files ActiveSheet.
Hi, Thanks a lot to share this way. Hiiii any buddy pls solve my problem It will generate a list of files in the directory or subdirectory in worksheet. See screenshot: bt my excel file is not remove password Thanks for the macro.. It was really very helpful Can you please tell me what is the significance of number 7 with Dir function. Viewed 78k times. Improve this question. Vilican 2, 8 8 gold badges 20 20 silver badges 35 35 bronze badges.
In IIS, it's a server side configuration. Directory Browsing can be enabled or disabled. Add a comment. Active Oldest Votes.
Can you? Yes and No. No in other cases. So the right question would be: why a website's directory structure must not be browsable? Improve this answer. Community Bot 1. There is no way to browse a directory of any website. Bacon Brad Bacon Brad 3, 18 18 silver badges 26 26 bronze badges. How Can i spider the website to get list of webpages? A spider goes through a page and extracts all links to pages and files it finds in that document.
Like how Google spiders sites for it's search index. Any one else having a problem like this? Also, I configured the app web. Any suggestions? October 17, at pm. October 23, at am. Hi Mike, I want to open the index. It has worked before I started to use your application. Please tell me how to tell the IIS to open desired file, when I enter the page. Thank you in advance. October 24, at pm. Trying to install this with IIS6. Not an ASP. NET person. October 25, at am. Are you changing anything else?
Is the error coming from ASP. October 26, at am. FileLoadException: Loading this assembly would produce a different grant set from other instances. I cannot find much but I am now starting to beleive this is a problem with the module app. This Runtime error happens randomly, when browsing through the directories. I really think, now doing some research and asking other people, that this is a bug with the module. Any help or acknowledgement?
October 26, at pm. The problem looks to be a permission problem with virtual directories. Since I have enabled that on my virtual directories, under my content, I have not received the dreaded:. October 27, at pm.
Hi, great application, simple and working. Could you please fix this and let me know by email? Good job anyway. Cheers Aim. October 28, at am. Some of these were.
October 28, at pm. October 30, at am. Mike, please tell me what to do to have the possibility to load desired page in one of the subdirectories under the main directory where your programm is working. Thank you in advance for your help. November 5, at am. December 4, at pm. It does this so many times that it crashes my whole app pool and my site becomes unusable Service Unavaliable untill I manually restart the app pool.
I think the problem is with the Icon Handler but could have something to do with the dir listings module as well. NET Framework 2. January 18, at am. I am trying to figure out how I would modify the sorting. Right now that sample code sorts so that if you sort by date the oldest files are on top. What if I wanted it to sort the newest at the top? Also one other thing, How would I get the modified date in right next to each file?
February 5, at am. Hey mike, looks really great. Hello Mike, First of all thanks for making this available. I have deployed the solution on a windows server, but i run into a problem that the icons are not showing when accessing the web page. Do you have a explanation why it does not pull in the icons in the main folder? March 18, at pm. April 27, at am. Since its release, IconHandler has been a pretty popular module on its own and with the custom DirectoryListingModule.
May 2, at am. Can you please tell me, How can I configure directory browsing only to a particular directory in my application using your module. See an earlier comment that explains how to do it. May 20, at am. May 28, at am. May 29, at am. June 9, at pm. June 16, at pm. June 17, at pm. Pete make sure you have the latest versions on the iconhanlder dll files in you bin folder.
I had the same problem. I updated the files and that seemed to have solved my issue. I didnt have to remove the slash. June 26, at am. July 1, at pm. I keep getting, 'This page cannot be used without the DirectoryListing module'. I followed your instructions. I'm on Vista…. July 4, at pm. Try requesting the root of the directory, i. July 16, at pm. Any updates on being able to hide file types or directories from being listed?
This application is great, but eventhough I have a default document set for the directory where it is installed it still shows the list of files rather than the default page. Am I doing something wrong or is this how it is meant to work due to the configuration in the web. July 21, at pm. August 13, at pm. Could someone provide a checklist of what to look for. September 23, at am. Mike, first of all: Nice work.
I do have a question. Is it true that all. For instance, if i aks the icon for iexplore. Any thoughts? September 26, at am.
This is probably a bad idea on a production system, both in terms of memory usage of your app and security. November 1, at am. November 7, at am. January 6, at am. January 6, at pm. You are getting a lock violation error, which means that there is configuration in web.
The error messag is cut off in the video, so I cant tell which section it is. However, the only sections that could be locked in the web. Handlers are unlocked by default — automatically get unlocked when ASP. NET is installed. January 7, at am. I double checked but ASP. I put another video online for you:. January 10, at pm. January 15, at pm. January 27, at pm. If I have images. January 29, at am. The requested page cannot be accessed because the related configuration data for the page is invalid.
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
February 1, at am. I updated the IIS7 installation step in the post to help with this problem same as previous several commenters. February 21, at pm. This is causing non-IE browsers ie FireFox to display this string after every file. Can you add a semi colon to the end so it will go away? Also, can you post the code for this module? If not, I guess a bug fix would be ok.
February 23, at pm. The best part is, all of the markup is generated by a template ASPX page in the application directory. You have total and complete freedom to modify this page to make the listing look the way you want in your application. March 5, at pm. Any suggestions would be appreciated. Looks like nice work.
Nice catch — the WaitOne overload I was using was tied to. I replaced it with an overload that is available in all. NET framework versions, to remove the dependency. March 9, at pm. April 2, at am. I'm getting icons if I browse via localhost on the server but via other clients safari and firefox tested thus far no icon. Any idea what might cause this? April 5, at pm. April 21, at am. Description: An error occurred during the compilation of a resource required to service this request.
Please review the following specific error details and modify your source code appropriately. Line 1: Line 2: Line 3: Line June 18, at pm. I have tested with other picture files and get the same results. Anyone else having this problem?
It works fine with word, excel, and pdf files. October 3, at pm. Any chance of being able to hide the bin folder or the dirlisting. November 1, at pm. November 12, at am. Having a problem getting this to work under R2 IIS 7. I currently get a blank page returned 0 bytes. November 28, at pm. But I get:. Description: An error occurred during the processing of a configuration file required to service this request.
Please review the specific error details below and modify your configuration file appropriately. February 14, at am.
February 20, at am. I was seeing the same problem as aye caramba in IIS7 i. When I tried to browse to my Application i. The solution in the end was simple but not obvious to an IIS noob like myself. In the web. This fixed the problem for me. I hope it can help someone else. This can be modified to define the behavior you want. You should find two instances. Simply switch their positions.
Sort DirectoryListingEntry. March 4, at am. Mike what about releasing your source code? It seems you have not been very active in developing this module any further, although i really would love to see the exceptions to be added. April 8, at am. April 26, at am. The sample app almost does everything I want! But how can I customize it so that it ONLY shows the documents within a sub-folder of the of current directory? The current directory is where the code is placed Many thanks!!
April 28, at pm. At least they made it modular enough to replace dirlist. I have this working with virtual directories. You need to use an old trick from the FTP server days. Basically create a new virtual directory that points to the UNC path of your choice under the application.
Then you need to create an empty directory with the same name as the virtual directory in the same folder on the webserver. That way the directory will be listed however when you click it, you will get the virtual directory listing. In addition I have this configured with SSL and basic auth. This enforces NTFS permissions as the directory is accessed using the proper credentials.
May 13, at pm. It would be great if we could get the code for the DLL or have this functionality in the dirlist module. August 24, at am. I installed this following the instructions iis7 and all I get is a blank white screen..
September 2, at am. September 3, at am. September 3, at pm. September 28, at pm. January 12, at am. February 3, at pm. Got the hidden files thing working finally. Comments here hinted at the answer requiring the list type to be declared but no one actually did it. All I wan to do is set up a home-network server. I get the security exception below. Description: The application attempted to perform an operation not allowed by the security policy.
Exception Details: System. An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
April 22, at pm. April 23, at am. April 25, at am. Is some entry required elsewhere other than within dirlisting. NET Filesdocumentscbd2e65eoqjtlv4. Microsoft R Visual C Compiler version 8. All rights reserved. May 17, at am. May 31, at pm. And so far I was able to do it rather easily. However, one line of code bothers me and prevents me from doing what I need:. July 11, at pm. December 28, at am. April 13, at am. Is this possible to do using the code supplied? August 22, at am.
I am using IIS7 and like a lot of people in the blogs I am getting broken icons.
0コメント