If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Filename Too Long
C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\
has 5 files with names that are too long! 0-DevApps-https???next-services.apps.microsoft.com??search??6.3.9600-0?? etc where ? is a character that does not appear on the keyboard. Cannot open or get properties! How do I get rid of them??? |
Ads |
#2
|
|||
|
|||
Filename Too Long
Alek wrote:
C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? |
#3
|
|||
|
|||
Filename Too Long
Andy Burns wrote on 2/24/2015 5:15 PM:
Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. |
#4
|
|||
|
|||
Filename Too Long
Alek wrote on 2/24/2015 5:16 PM:
Andy Burns wrote on 2/24/2015 5:15 PM: Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. If all else fails, download a Linux live CD ISO. I suggest Linux 17 mint Cinnamon. There are other Linux boot CD's. Linux does not care about names and lengths and will read the windows partition. LM 17 Cinnamon is much like windows for those that don't know. There is a similar 'folder' on the taskbar to launch the explorer and you'll see your windows on the left tree and can click on it and open it. You could trash the entire profile in one click there. Do make sure you "delete" and not "move to trash" if that's an option. |
#5
|
|||
|
|||
Filename Too Long
Big_Al wrote on 2/24/2015 5:33 PM:
Alek wrote on 2/24/2015 5:16 PM: Andy Burns wrote on 2/24/2015 5:15 PM: Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. If all else fails, download a Linux live CD ISO. I suggest Linux 17 mint Cinnamon. There are other Linux boot CD's. Linux does not care about names and lengths and will read the windows partition. LM 17 Cinnamon is much like windows for those that don't know. There is a similar 'folder' on the taskbar to launch the explorer and you'll see your windows on the left tree and can click on it and open it. You could trash the entire profile in one click there. Do make sure you "delete" and not "move to trash" if that's an option. I have a bunch of Linux live CDs. Just didn't think of that!! Thanks. |
#6
|
|||
|
|||
Filename Too Long
Big_Al wrote:
Alek wrote on 2/24/2015 5:16 PM: Andy Burns wrote on 2/24/2015 5:15 PM: Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. If all else fails, download a Linux live CD ISO. I suggest Linux 17 mint Cinnamon. There are other Linux boot CD's. Linux does not care about names and lengths and will read the windows partition. LM 17 Cinnamon is much like windows for those that don't know. There is a similar 'folder' on the taskbar to launch the explorer and you'll see your windows on the left tree and can click on it and open it. You could trash the entire profile in one click there. Do make sure you "delete" and not "move to trash" if that's an option. Interesting. It says here, there is a Delete Files option when working on the account. But no picture of the dialog box. http://www.tomshardware.com/faq/id-1...s-windows.html ******* There has been a bug in Windows for a long time. I tested this one day, using Perl to generate too-long file names. It turns out, in my testing, there is exactly one file name length, that File Explorer refuses to let you do stuff. If, on the other hand, you use any other program to work with the file system, this limitation is not present. For that particular length of file name, you can "rename". One thread I found, suggested using 7-ZIP as a "file manager" and do the rename of the errant thing in there. And a thread here, mentions a particular combination of Robocopy options, which will purge a too-long file name. http://www.bryantwebconsulting.com/b...Deleting-Files "robocopy C:\EMPTY_DIRECTORY C:\DIRECTORY_WITH_SUB_OR_FILE_TOO_LONG\...\ /PURGE /W:1 /R:1 /V /S results in a false copy but that clean up all..." The first directory in that command, is an empty folder. You are asking Robocopy to copy an empty folder to the destination folder (the one you want removed). The /PURGE option cements the operation. Purge delete files that no longer exist in the source (and since the source is empty, the entire destination folder is cleared). You have to make an empty folder ("EMPTY_DIRECTORY"), before you issue that command. You can remove the empty folder later if you wish. Since Robocopy is not "File Explorer", it won't have that problem with a long file name. Using just about any tool except Robocopy, would get you around this. I used ActiveState Perl, to make long filenames and shorten them again later. Just for testing of this bug. Be careful with Robocopy - always double check your spelling. And *never never* copy and paste a Robocopy command from one window to another (trust me on this). If the copy/paste fouls up, and the partition letters in the command happen to be wrong, you can lose a gigabyte of tiles in the time it takes to snap your fingers. There is a tool some spammers advertise, but it is a licensed tool and won't work without a key. Paul |
#7
|
|||
|
|||
Filename Too Long
Paul wrote on 2/24/2015 7:00 PM:
Big_Al wrote: Alek wrote on 2/24/2015 5:16 PM: Andy Burns wrote on 2/24/2015 5:15 PM: Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. If all else fails, download a Linux live CD ISO. I suggest Linux 17 mint Cinnamon. There are other Linux boot CD's. Linux does not care about names and lengths and will read the windows partition. LM 17 Cinnamon is much like windows for those that don't know. There is a similar 'folder' on the taskbar to launch the explorer and you'll see your windows on the left tree and can click on it and open it. You could trash the entire profile in one click there. Do make sure you "delete" and not "move to trash" if that's an option. Interesting. It says here, there is a Delete Files option when working on the account. But no picture of the dialog box. http://www.tomshardware.com/faq/id-1...s-windows.html ******* There has been a bug in Windows for a long time. I tested this one day, using Perl to generate too-long file names. It turns out, in my testing, there is exactly one file name length, that File Explorer refuses to let you do stuff. If, on the other hand, you use any other program to work with the file system, this limitation is not present. For that particular length of file name, you can "rename". One thread I found, suggested using 7-ZIP as a "file manager" and do the rename of the errant thing in there. And a thread here, mentions a particular combination of Robocopy options, which will purge a too-long file name. http://www.bryantwebconsulting.com/b...Deleting-Files "robocopy C:\EMPTY_DIRECTORY C:\DIRECTORY_WITH_SUB_OR_FILE_TOO_LONG\...\ /PURGE /W:1 /R:1 /V /S results in a false copy but that clean up all..." The first directory in that command, is an empty folder. You are asking Robocopy to copy an empty folder to the destination folder (the one you want removed). The /PURGE option cements the operation. Purge delete files that no longer exist in the source (and since the source is empty, the entire destination folder is cleared). You have to make an empty folder ("EMPTY_DIRECTORY"), before you issue that command. You can remove the empty folder later if you wish. Since Robocopy is not "File Explorer", it won't have that problem with a long file name. Using just about any tool except Robocopy, would get you around this. I used ActiveState Perl, to make long filenames and shorten them again later. Just for testing of this bug. Be careful with Robocopy - always double check your spelling. And *never never* copy and paste a Robocopy command from one window to another (trust me on this). If the copy/paste fouls up, and the partition letters in the command happen to be wrong, you can lose a gigabyte of tiles in the time it takes to snap your fingers. There is a tool some spammers advertise, but it is a licensed tool and won't work without a key. Paul I use robocopy in a batch file for updating onto a thumb drive select folder. I never thought of it to erase something but yes it would if you transferred an empty folder to a full folder. robocopy C:\empty C:\user\defunct /MIR I myself use /MIR to duplicate folders, it deletes and adds and updates, so if empty has no files, defunct will to after it's done. Much easier than booting a linux cd. |
#8
|
|||
|
|||
Filename Too Long
Big_Al wrote on 2/24/2015 7:13 PM:
I use robocopy in a batch file for updating onto a thumb drive select folder. I never thought of it to erase something but yes it would if you transferred an empty folder to a full folder. robocopy C:\empty C:\user\defunct /MIR I myself use /MIR to duplicate folders, it deletes and adds and updates, so if empty has no files, defunct will to after it's done. Much easier than booting a linux cd. BRILLIANT!!! Thanks. |
#9
|
|||
|
|||
Filename Too Long
Big_Al wrote on 2/24/2015 5:33 PM:
Alek wrote on 2/24/2015 5:16 PM: Andy Burns wrote on 2/24/2015 5:15 PM: Alek wrote: C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! How do I get rid of them??? Why do you want to? I'm trying to completely remove a user profile. Where did they all come from???? |
#10
|
|||
|
|||
Filename Too Long
Alek wrote on 2/24/2015 5:12 PM:
C:\Users\[USERNAME]\AppData\Local\Packages\winstore_cw5n1h2txyewy\Loc alState\Cache\0\ has 5 files with names that are too long! 0-DevApps-https???next-services.apps.microsoft.com??search??6.3.9600-0?? etc where ? is a character that does not appear on the keyboard. Cannot open or get properties! How do I get rid of them??? Follow-up: It was not the filename that was too long; it was the PATHname! I renamed "winstore_cw5n1h2txyewy" to "winstore" and was able to delete those files. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|