Sunday, October 19, 2014

Fix for "The file name(s) would be too long for the destination folder." error.

  1. Start a command prompt (as Administrator).
  2. cd to the folder that you are trying to delete. For example: 
    • cd C:\Users\UserName\AppData\Local\Packages\winstore_cw5n1h2txyewy\LocalState\Cache\0
  3. Type the following command to generate the short file name list:
  4. dir /x >> del.txt
  5. Open the generated "del.txt" file in notepad. It will have the short and long file names listed in it. For example here's a line from this file, the highlited part is the short file name:
    • 08/29/2014  04:03 AM               116 0-C48C~1.DAT 0-GetRatingSummary-https???
  6. Use the short file names from "del.txt" and the "del" command to delete these files using the command prompt. For example: del 0-C48C~1.DAT

No comments:

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( &...