19 April, 2010 | Category: Windows
Windows.old is a folder that contains archive information from previous windows system(XP/VISTA) when you upgrading to VISTA/Win7. It mainly stores programs and files that are required to run the earlier version of Windows and contains following folders.
- Windows
- "Documents and Settings"
- "Program Files"
You might end up having a windows.old folder taking up 20+ gigs on your system drive.
If you don’t need windows.old folder and want to safely delete this folder, follow the instructions below:
- Select Start, then All Programs, then Accessories, then System Tools, and then Disk Cleanup.
- If you are using Windows 7, select Clean up system files. If you are using Windows Vista, select Files from all users on this computer.
- Select the Previous Windows installation(s) check box, and click OK.
IMPORTANT: Be sure to back up all important documents/files from the previous OS before following this article.
Tags: Tips, Window 7
25 March, 2010 | Category: Tips and Tricks
From the command prompt on your machine launch an RDP connection using: mstsc /span
This works on VISTA/WIN7. If you have a Win2K3 machine you need have Terminal Services Client 6.0 installed. You can download it here.
It’s recommended all monitors in your multi-monitor configuration be set to the same resolution.
Tags: Remote Desktop, Tips, Tools
22 March, 2010 | Category: Development, Tips and Tricks
This note is for a few quick ways to delete all blank lines from a text file.
- sed ‘/^$/d’ file > file_new
- grep -v "^$" file > file_new
- (This is for Notepad++ users) Select all text (shortcut Ctrl+A) and then click Menu TextFX -> TextFX Edit -> Delete Blank Lines

Tags: Notepad++, Tips
14 March, 2010 | Category: Tips and Tricks, Tutorial
After setup local WordPress environment, WordPress will generate a password for admin logon. The password is so strong that forget the password can easily happen. The easiest way to get admin password back is reset it again in database.
Here is the SQL command that will do it:
UPDATE ‘wp_users’ SET ‘user_pass’ = MD5(‘PASSWORD‘) WHERE ‘user_login’ =’admin’ LIMIT 1;
Note you need update red PASSWORD to the real password you want reset.
After the command succeeds, you will be able to login to WordPress with new password.
Tags: Tips, WordPress
1 March, 2010 | Category: Development, Tips and Tricks
Getting the current working directory
cd /d %~dp0
Comment: %0 is the name of the batch file. ~dp gives you the drive and path.
Tags: Batch Scripts, Command line, Tips
28 January, 2010 | Category: Tips and Tricks, Tutorial
At times people want to find out who owns a certain machine.
My Network places -> Search Active Directory -> Find: Computers, Enter Computer name: “FOOBAR”, Click “Find Now”, Select Result, Right Click “Manage” -> Local Users and Groups -> Groups -> Administrators -> (Find who is an admin on the box).
Another method is to open dsa.msc in MMC and Select “Advanced” View, then lookup computers and look at the Security tab.
The tool, srvinfo.exe, is also useful for learning info about a machine.
Tags: Tips, Troubleshooting, Windows How to
19 January, 2010 | Category: Windows
A list of shortcuts specific to Windows 7
Windows shortcuts
|
WinKey + Up arrow
|
Maximize window
|
|
WinKey + Down arrow
|
Restore/Minimize window
|
|
WinKey + Left arrow
|
Snap window to left
|
|
WinKey + Right arrow
|
Snap window to right
|
|
WinKey + Shift + Left arrow
|
Jump window to left monitor
|
|
WinKey + Shift + Right arrow
|
Jump window to right monitor
|
|
WinKey + Home
|
Restore/Minimize all other windows
|
Taskbar shortcuts
|
WinKey + T
|
Preview the first taskbar entry
Press again to move forward through taskbar entries
|
|
WinKey + Shift + T
|
Preview the last taskbar entry
Press again to move back through taskbar entries
(after pressing the keystroke once, use left and right arrow keys to cycle through)
|
|
Winkey + # (1-9)
|
Launches a new instance of the application on the # (1-9) slot on the taskbar
|
Desktop shortcuts
|
WinKey + Space
|
View the desktop
|
|
WinKey + G
|
Bring gadgets to the top of the Z-order
|
|
WinKey + P
|
Opens projection options (Computer Only, Duplicate, Extend and Projector Only)
|
|
WinKey + X
|
Mobility Center
|
Accessibility shortcuts
|
WinKey + +
|
Zoom in
|
|
WinKey + -
|
Zoom out
|
Explorer shortcuts
|
Alt + P
|
Show/hide preview pane
|
Mouse Shortcuts
|
Shift + Left click on taskbar icon
|
Open a new instance
|
|
Shift + Middle click on taskbar icon
|
Open a new instance
|
|
Ctrl + Shift + Left click on taskbar icon
|
Open a new instance with admin priveleges
|
|
Shift + Right click on taskbar icon
|
Show window menu (Restore/Minimize/Close, etc)
|
|
Shift + Right click on taskbar group
|
Show window group menu (Restore/Minimize/Close All)
|
|
Ctrl + Left click on taskbar icon
|
Cycle between windows (or tabs) in the group
|
Tags: Shortcut, Tips, Window 7
17 January, 2010 | Category: Tips and Tricks
There’s a hidden, system, read-only file called boot.ini in system boot drive.
Here’s a sample to run 1 GB dual as a 128 MB uniprocessor:
[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=”Microsoft Windows XP Professional” /fastdetect /numproc=1 /maxmem=128
Tags: Development Resources, Tips
17 January, 2010 | Category: Office, Tips and Tricks, Tutorial
Have you ever deleted an email, emptied your deleted items folder and then realized one day or two later that you need them? Well you can recover them in outlook using the following easy steps:
Select the ‘Delete Items’ folder
Go to Tools->Recover Deleted Items…
You will see a nice list of all the email that you have deleted. However, you’ll need to know either the sender or the subject since you can’t search or open the items but you could always recover everything and then re-empty the Deleted Items Folder.
Update: In Outlook 2010, its Folder –> Recover Deleted Items
Tags: Office, Outlook, Tips
5 January, 2010 | Category: Tips and Tricks
Domain joined
netdom.exe renamecomputer %computername% /NewName:<new name> /userd:domain\user /passwordd:*
Non-Domain joined
wmic.exe computersystem where name="%computername%" rename name="<new name>"
Tags: Batch Scripts, Command line, Tips