(Jan-13-2017, 11:28 AM)DrLove73 Wrote: it does not work for either very long file paths, or paths with space:
Quote:"e:/Backup-racunara/Novi_Sad/Dole_napred/JASMINA-PC/Revizije/C/Users/jasmina/AppData/Local/IconCache.db 2016-10-14 080101.db"
"e:/Backup-racunara/Novi_Sad/Dole_napred/JASMINA-PC/Revizije/C/Users/lj/NTUSER.DAT 2016-10-14 080101.DAT"
Any advice how to adapt this script for filename and directory names with spaces?
Please be more specific, which error message do you see, or which unexpected output, which other would you expect?
Also, at this time, your code is rather difficult to review. Do you already know about python functions or maybe even classes to help bring more structure and readability to the code?
This way, you can also easier update and improve some portions of the code and test them separately. You may also be thankful in a few months or years when you come back and try to understand what you coded. ;)