/ Published in: Other
Workaround to remove or rename annoying files with long filenames
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
REM map a temporary directory to the current path subst T: . T: REM rename the file rename "a-very-long-(over-200-characters-here)-name.doc" shortname.doc REM or remove it del "a-very-long-(over-200-characters-here)-name.doc" REM then detach the temp. drive C: subst T: /d
URL: http://ask.metafilter.com/mefi/31958