Forum Moderators: open
I want to export the filenames out to a text file so that I can later match them up with the images that my db is calling (this way I can find missing images and ones that aren't being called at all).
Anybody know of a utility or some way to get windows explorer to do this?
Thanks...
A file called filelist.txt will be created with the directory contents. If you want to create the file list elsewhere, use a fully qualified file name or use the ..\ convention. Don't forget that Windows uses \ not / as directory delimiters.
Kaled.
XENU will produce a list of files not called in its Orphan Files report.
(unless I'm quite mistaken on how Xenu works ...)
I gave it a try, and it asks for FTP access, to determine what files are there. I'm impressed. Thanks!
I hadn't noticed before because in Prefs I set it to report Site Statistics only (I believed my sites were too big for anything else, and I didn't know it used FTP to determine orphaned files).
Thanks!
Open your favorite text editor and save the following as a .bat file, something like 'listdir.bat'. It doesn't matter where you save it as long as it won't get deleted:
rem Right-click the name of this file
rem and create a shortcut in the same folder.
rem On the Program tab of this shortcut
rem "Properties", check the Close on Exit
rem
rem Right-click on the shortcut and select copy.
rem Navigate to the Windows "Send To" folder
rem and right-click a blank space and
rem select "Paste Shortcut".
rem The Windows "Send To" folder is located
rem somewhere like the following:
rem "C:\Documents and Settings\MYNAME\SendTo"
rem
rem From now on, left-click a folder,
rem right-click and select "Send To"
rem and this shortcut for a directory listing.
rem
dir %1 /-p /a:-d /b /o > "%temp%\File List"
notepad "%temp%\File List"
erase "%temp%\File List"
Use it if you like it ...
drag the folder into a Firefox, Moz or Netscape shortcut, the file names and other details will open as an HTML file. c+p
But I see that a possible scenario you are searching for a solution to is to get an Orphaned Files report. I, too, may have to give Xenu a look-see.
Still, wanting to compare the contents of a database implies you are serving up dynamic pages. Will Xenu do that? Perhaps flat navigation (must be a better word for that). But I'm harkening back to my early programming days on the 6502 with Indirect Indexes and Indexed Indirects.
Someone mentioned on the Total Commander forum that they have a print driver installed called "Generic/Text only," which they use in conjunction with the Print Selected Filenames option to send the names to disk. They didn't know, though, where they got that driver.
So... anyone know about the "Generic/Text only" print option?