Skip to main content

Posts

Showing posts from August, 2011

To Delete SVN files from windows directory

Create a .reg file (say svnDelete.reg) and edit the file contents as below Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete SVN Folders" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command] @="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \"" and execute [double click on the file that will add registry entry] the file. Once reg file is executed you will get a menu item called “Delete SVN Folders”  in the context menu. Just right click on any Folder, click on the “Delete SVN Folders” will delete all “.svn” folders in the directories recursively.

VI shortcuts Fasttrack

Let me summarize here with few vi commands for Fast reference: Inserting text esc + i insert text informant of the cursor esc + a append text after the existing text esc + O opens new line above the current line esc + o opens new line under current line (insert mode) Deleting text esc + x deletes one character esc + 5x deletes five charters esc + dw deletes a word esc + 5dw deletes five words esc + dd deletes the whole line esc + D deletes the line from cursor and forward esc + d) deletes the sentence from cursor and forward esc + d( deletes the sentence from cursor and backwards esc + u undelete Note: esc + d) or d( removes the sentence from cursor and forward/backwards until it reaches a dot "." Moving around in VI: Make sure you are in command mode and the following letters will do: j ...

Windows XP Run Commands

Windows XP Run Commands and Short Cuts How To - Click Start, Click Run and enter the command Click OK Run commands Calc - Calculator Cfgwiz32 - ISDN Configuration Wizard Charmap - Character Map Chkdisk - Repair damaged files Cleanmgr - Cleans up hard drives Clipbrd - Windows Clipboard viewer Cmd - Opens a new Command Window (cmd.exe) Control - Displays Control Panel Dcomcnfg - DCOM user security Debug - Assembly language programming tool Defrag - Defragmentation tool Drwatson - Records programs crash & snapshots Dxdiag - DirectX Diagnostic Utility Explorer - Windows Explorer Fontview - Graphical font viewer Ftp - ftp.exe program Hostname - Returns Computer's name Ipconfig - Displays IP configuration for all network adapters Jview - Microsoft Command-line Loader for Java classes MMC - Microsoft Management Console Msconfig - Configuration to edit startup files Msinfo32 - Microsoft System Information Utility Nbtstat - Displays stats and current connections using NetBios over T...