Wednesday, January 22, 2020

Solution to delete file name more longer than 255 characters in Windows

In Windows, when try to delete the file name more longer than 255 characters,
Diagnosing

  • Context menu will not appear.
  • Unable to rename in cmd
  • Unable to delete in cmd
  • Unable to delete using powershell programming
  • Unable to delete even in Java programming or any programming


Recommended solution

Use the subst command to assign a drive letter to a specific folder

You can substitute a specific folder path with a drive letter using the Windows Command Prompt and the subst command. The command follows the format:
subst <driveletter> <folder path>
For example, if you wanted to replace the folder path C:\Example\File\Path with the drive letter Y, you would enter:
subst Y: C:\Example\File\Path
Now the Y:drive is "mapped" directly to the folder. Since you have substituted most of the long file path with Y:, it no longer violates the character limit. You can now move the files out of this folder to a folder with a shorter file path.
After you move the files, you can delete the virtual drive by running the subst command with the /d parameter. To delete the Y: drive created in the example above, enter:
subst Y: /d

Tuesday, April 15, 2014

Installing Cordova on Ubuntu

Add the Ubuntu Cordova Personal Package Archive to your Ubuntu system:
$ sudo add-apt-repository ppa:cordova-ubuntu/ppa
$ sudo apt-get update
Install cordova-cli package (and its dependencies):
$ sudo apt-get install cordova-cli
REFER: http://docs.phonegap.com/en/edge/guide_platforms_ubuntu_index.md.html#Ubuntu%20Platform%20Guide




Installing NodeJS on latest ubuntu 13.10

sudo apt-get install nodejs nodejs-dev npm
Refer: http://blog.nodeknockout.com/post/65463770933/how-to-install-node-js-and-npm#hello


Monday, March 10, 2014

Quick Solution Timestamp in OpenOffice 4.0


  • In Excel you can enter the current date in the cell by pressing shortcut key CTRL+;
  • And also you can enter the current time by pressing shortctut key CTRL+SHIFT+;

But There is no option in OpenOffice so far to create a quick shortcut key. I have simple quick solution to solve this shortcut issue , quickly to access it.

Quick Solution:


  1. First time, Select the FX Wizard shortcut CTRL+F2
  2. Select Function NOW() and press Next and press OK
  3. Here comes the trick press F2 to enter the editmode then F9 to show the NOW() value on the cell  press enter key to store the NOW() value as input value.
  4. Next time Use FX Sidebar to use Last Used Functions 
  5. Double click the Now() Function and do the step3.


Thursday, February 20, 2014

Solution to Droplet unable to communicate with photoshop in 64 Bit.

The Photoshop CS5 12.0.4 64 bits... is still experiencing problems with droplets... it says "Droplet unable to pass along with Photoshop" when working in Advance Automation.I explored in web more than a week and there is no answer. Suddenly It strikes my brain because the path of the photoshop may not added when installing by default of Adobe package installation, Since I have experience with Java work earlier. Later I added the path in systems, its works PERFECT.

Solution:

  • Right click on My Computer icon and select properties.
  • Move to Advanced System Settings
  • Click the button labeled Environment Variables.
  • Add 'User variable' by clicking the 'New' Button.
  • Put up the 'Variable name' as 'Path'
  • Put up  the 'Variable value' as ';C:\Program Files\Adobe\;'


Note: It's better safe to the add the semicolon before and after the adobe location.


Monday, June 25, 2012

Javascript 'Disable F5 to avoid refresh my key down windows event

<script>
window.history.forward(1);
document.attachEvent("onkeydown", my_onkeydown_handler);
function my_onkeydown_handler()
{
switch (event.keyCode)
{

case 116 : // 'F5'
event.returnValue = false;
event.keyCode = 0;
window.status = "We have disabled F5";
break;
}
}
</script>

Tuesday, January 03, 2012

Create flowchart from C# and VB.Net code

Microsoft Visual Studio Learning Pack 2.0 - This tool developed to help students learn the basic concepts, algorithms, and implementations of popular computer sorting and searching algorithms.  In Addition improvements in this release include support for Visual Studio 2008 Express and more support for Visual Basic.
http://social.msdn.microsoft.com/Forums/ar/csharpgeneral/thread/903d9c3c-f4cd-4186-8b44-d807502cd8b9 

flow.png

Friday, November 18, 2011

How to: Find last update date of a web site

This works only in IE.
1. Go the web site
2. Just enter this "javascript:alert(document.lastModified)" in the address bar of the IE and press enter.
3. A message will pop-up with the last updated date.