Sunday, 15 January 2012

Change TCP/IP settings using cmd

When you often use a laptop on different netwoks you can very easily change your ip and much more by use this command. You can save the line in a batch file and run the file when you  switch between home and work.

set address name="Local Area Connection" static 1

The syntax is:
set address [name=]InterfaceName [source=]{dhcp | static [addr=]IPAddress [mask=]SubnetMask [gateway]

Assigning a Static IP Address

To assign a Static IP Address to your network connection follow these steps:
  •  Open Network Connections
  •  Right click the connection you wish to assign a Static Address to and choose Properties.
  •  In the Properties box that comes up select "Internet Protocol TCP/IP" and click the Properties button beneath.
  •  In Internet Protocol TCP/IP Properties click dot in "Use the following IP Address".
  •  Enter the IP address you wish to use and OK the change. Click OK on Local Area Connection Properties.
  •  Reboot

Important Tips That Every Windows7 User Must Know

Tips Every Windows 7 User Needs To Know

Alt + P
In Windows Explorer, this will activates a preview pane of selected file, be it an image, sound, or video document. This panel is great for previewing images in your photos directory, obviating the need for fancier third-party software.

Windows + Up and Windows + Down
If a window isn't maximized, pressing the Windows + Up arrow key will make it fill your entire screen. Windows + Down arrow will minimize that active window.

Windows + Shift + Up and Windows + Shift + Down
Hitting these three keys will vertically stretch an active window to the maximum desktop height (the width of the window, however, will stay the same). Pressing Windows + Shift+ Down will restore the window to its previous dimensions.

Windows + + and Windows + -
Pressing the Windows button with either the plus or minus key activates the Magnifier, letting you zoom in on the entire desktop or open a rectangular magnifying lens to zoom in on (and out of) parts of screen. You can also customize the Magnifier to follow your mouse pointer or keyboard cursor.

Windows + Left and Windows + Right
These two shortcuts will make your active window fill up exactly one half of screen-depending on which arrow key you use. And once a window is fixed to one side of the screen, you can repeat the shortcut with the same arrow key to flip it to the other side.

Windows + Home
This shortcut minimizes every open window on your desktop except the active window. Pressing this shortcut again restores all the minimized windows.

Windows + T

Like Alt + Tab (still our all-time-favorite Windows shortcut), Windows + T cycles through thumbnails of open programs via the Taskbar's peek menu.

Windows + E
Automatically opens up a new Explorer window to show your Libraries folder.

Windows + P
Manage your multiple-monitor setup more efficiently with this handy shortcut. Windows + P opens a small overlay that lets you configure a second display or projector. You can switch from a single monitor to dual-display in either mirror or extend-desktop mode.

Windows + Shift + Left and Windows + Shift + Right
If you're using two or more displays-and you are, aren't you?-memorize this shortcut to easily move a window from one screen to the other. The window retains its size and relative position on the new screen, which is useful when working with multiple documents.

Windows + [Number]
Programs (and new instances) pinned to your Taskbar can be launched by hitting Windows and the appropriate number key. Windows + 1, for example, launches the first application in the taskbar, while Windows + 4 will launch the fourth.

Windows + Space
This shortcut performs the same function as moving the mouse to the bottom right of the Taskbar: It makes every active window transparent (save faint outlines) so you can view the desktop underneath.