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???next-services.apps.microsoft.com?4R?6.3.9600-0?788?en-US.en?m?US?Apps?34cfd037-2abe-4e74-a389-8bb75867b65c?ri?24b74004-2191-4b34-9e30-4cbe31dd5ef1?Reviews?RatingSummary.dat
  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

FizzBuzz in different languages

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