We host Macintosh files on our Windows 2008 servers. They have files like
somegraphic.eps ._somegraphics.eps (hidden)
Many times our users will add non-standard characters to the files, like bullets and spaces at the end of the file names. It allows them to add the characters, but it won't let them alter the file names once they click enter.
- In a batch file, how could you get a list of all files ending in a space?
- In a batch file, how could you mass rename all files removing unwanted characters?
For that matter:
- How could you get a list of all files on a system, their modified times, and in an XML or easily data import format?
I try to rename with a dir/x filename, but the hidden properties seem to stop that from working.
Usually, I do a dir/b/s to get a full directory search in a bare format, but it doesn't include modified times.