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

Wednesday, May 14, 2014

ObjectListView

ObjectListView is a C# wrapper around a .NET ListView. It makes the ListView much easier to use and teaches it some neat new tricks.



Tuesday, April 15, 2014

NTCore

A freeware suite of tools including a PE editor called CFF Explorer and a process viewer. The PE editor has full support for PE32/64. Special fields description and modification (.NET supported), utilities, rebuilder, hex editor, import adder, signature scanner, signature manager, extension support, scripting, disassembler, dependency walker etc. First PE editor with support for .NET internal structures. Resource Editor (Windows Vista icons supported) capable of handling .NET manifest resources. The suite is available for x86 and x64. 

http://www.ntcore.com/exsuite.php

Tuesday, February 25, 2014

How to delete 0kb file from Windows 7/8

  1. Run a command prompt as Administrator
  2. CD to the folder where the 0kb file is located at.
  3. Type: dir /x (this will give you the short file name of this file).
  4. Now type: del short_file_name

FizzBuzz in different languages

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