Forum Moderators: open
DOS command
dir /b /s *.* >filelist.txt
seems to work only for ~ASCII so I end up with '?' marks for each character outside this.
I've tried Xenu but it didn't pick them up as orphan files.
Any ideas - I'm stumped.
Can PHP access directory listings maybe?
Dropping the folder into a browser window was one tip that might work for you.
Firefox declares an error.
"Firefox can't find the file at /G:/test/?."
It appears just to ignore any filename with any character outside the ~ASCII set!
Also, doing that simply lists files in current directory c.f. Explorer.
I'm looking to get a lists of all files including those in subdirectories.. ~40k of them.
I did wonder if DOS had a suitable upgrade but haven't found one.
I just took a look at Total Commander.. it doesn't seem to have a suitable export file/directory list function.
I could run a java or PHP solution if there is one.. I don't know those well enough to know what's avaliable.
I'm not the best person to ask about PHP functions. You might want to post this question in our PHP forum [webmasterworld.com] and see if they can help.
chcp *** Not sure what the exact code page number you need is ... (850?)
[microsoft.com...]
Type
chcp to see what the current code page is (perhaps 437). Then set up a batch file or something: chcp [new cp]
dir /b /s *.* >filelist.txt
chcp [olc cp]