How to Know that application running in Windows 7 is 64bit/32bit

32 bit application can be supported by a 64 bit OS but 64 bit application can not be supported by a 32 bit OS.
Example: We can not install MS-Office 2010 64 bit on Win XP 32 bit or Win 7 32 bit, but we can install MS-Office 2010 32 bit in Win 732 bit as well as Win 7 64 bit.

Note: MS-Office 2007 is only available in 32 bit.

How to know about installed 32 bit application and 64 bit applications in 64 bit Windows OS:
  • Open "Task Manager" in the machine.
  • Navigate to "Process" tab.
  • The application against which "*32" is displayed are 32 bit applications and all other are 64 bit applications. In this way you can know that browser you are running is 32 bit or 64 bit.

To Clear browsing history of Browsers

Note:
1.    If toolbar is not displayed than open browser and press “Alt” tab from keyboard.
2.    To directly op-en the clear history dialog in any browser :
         2.1    Open the browser
         2.2    Press “Shift+Ctrl+Delete”, dialog will open.

Internet Explorer History
Steps:
Tools > Internet Options > General> click on “Delete” button under “Browsing History” section.

Chrome History
Steps:
Customize and control Google chrome button > History > Clear all browsing history

History in Firefox
Steps:
Tools > Clear Recent History

History in Safari
Steps:
Settings button > History > Select entries under “Bookmark” section and delete.

History Sea Monkey
Steps:
Tools > Clear Private Data

History in Deepnet Explorer
Steps:
Tools > Clean Up> further you can select option accordingly.


History in Maxthon Browser
Steps:
Customize Quick Tools > Clear History

Add a Network Location under Windows for a Website:

  1. Open "My Computer".

  2. Right click by mouse on free area.


3.Click on "Add a Network Location"
                           














4. Click "Next" from the dialog.




5. From next screen select "Choose a custom network location" and click "Next" button.




6. In Next screen provide the URL of the Website and click on "Next" button.

    PHP Script to create tables in Database

    <?php

    # Datbase Script of a DomianInfoTool
    require("config.php");
    define('TBL_DOMAIN','tbl_domain');
    define('TBL_CATEGORY','tbl_category');

     # Drop Table From Database If With Any Of These Name Exist..

       mysql_query('drop table if exists '.TBL_DOMAIN);
       mysql_query('drop table if exists '.TBL_CATEGORY);
     
     
     #***************************************************************************************************************************************
     
     # Create Table TBL_Domains.It include Information about Domains....

     mysql_query("create table ".TBL_DOMAIN."
                  (   
                    `id_domain`                      MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
                    `domain_name`                    varchar(200) NOT NULL,
                    `domain_email`                  varchar(60),
                    `domain_contact_url`            varchar(60),
                    `_date_create`                   DATE NOT NULL,
                    `_date_modify`                  DATE NOT NULL,
                    PRIMARY KEY(`id_domain`)                     
                  ) ENGINE=InnoDB DEFAULT CHARSET=utf8");
                 
    #***************************************************************************************************************************************
    #Create Table TBL_CATEGORY.It include Information about Categories.
     
      mysql_query("create table ".TBL_CATEGORY."
                  (   
                    `id_category`                      smallint unsigned NOT NULL AUTO_INCREMENT,
                    `category_name`                    varchar(50) NOT NULL,
                    `category_description`          varchar(255),
                    `_date_create`                     DATE NOT NULL,
                    `_date_modify`                     DATE NOT NULL,
                    PRIMARY KEY(`id_category`)                     
                  ) ENGINE=InnoDB DEFAULT CHARSET=utf8");
                 
                  mysql_query("insert into tbl_category (category_name,category_description,_date_create,_date_modify) values('Uncatorized','Uncatorized sites','2009-10-24','2009-10-24')");
                  mysql_query("insert into tbl_category (category_name,category_description,_date_create,_date_modify) values('Education','Educational sites','2009-10-24','2009-10-24')");
                  mysql_query("insert into tbl_category (category_name,category_description,_date_create,_date_modify) values('Social','Social sites','2009-10-24','2009-10-24')");
                  mysql_query("insert into tbl_category (category_name,category_description,_date_create,_date_modify) values('E-Commerce','E-Commerce','2009-10-24','2009-10-24')");
                 
    #***************************************************************************************************************************************   
    Execution:

    1. Create a config.php file at same location which include the required information to connect to phpMyadmin and select database
    2.Run the script on locanhost.

    #***************************      
    ?>         

    Recent Items Stack in Dock under Mac


    Open terminal and type:

    defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'

    Once you’ve completed that command, type “killall Dock” to relaunch your dock with the new stack.

    A new icon get added to Dock as “Recent Applications”, and onclick of the icon it display recently opened applications.

    2D/3D dock in Lion

    To change 3D Dock to 2D dock:

    1.Type in terminal as :
    defaults write com.apple.dock no-glass -boolean YES

    then hit enter key.

    2. Then type in terminal: killall Dock
    then hit enter key.

    To change 2D Dock to 3D dock: 

    1.Type in terminal as :
    defaults write com.apple.dock no-glass -boolean NO

    then hit enter key.

    2. Then type in terminal: killall Dock
    then hit enter key.
     

    To change folder icon in Mac OS



    1.      Open folder with Mac icons in .ICNS format in Finder and copy icon (Cmd+C).
    OR
    Select a folder which has different icon then default icon for folder in Mac
    1.1  Get folder info for the folder.
    1.2  Select folder icon and copy the icon through “Edit/Copy” from Desktop top menu.


    2.      Now get folder info for the folder you want to change icon.
    3.      Select folder icon and paste the icon through “Edit/Paste” from Desktop top menu.

    To Create Multiple folders in Windows using CMD

    •    To create multiple folders in Windows:

    Type in Command prompt:-  MD name1 name2 name3
    It will create three folders at same location named as “name1” , “name2” and “name3”.

    •    To create deep hierarchy of folders:

    Type in Command prompt:-  MD name1\name2\name3
    It will create a hierarchy of folder as name1/name2/name3.

    How to create heavy file under Mac/Windows of any Extension type

    •    For Windows:
    1.    Go to command prompt
    2.    Navigate to a folder say(cd “C:/test”)
    3.    Type:  fsutil file createnew test.txt 5248 and hit enter key from keyboard.


    •    For Mac:
    1.    Go to terminal
    2.    Navigate to location, where you want to create file
    3.    Type: mkfile –v 10m test.txt
    (Note: 10m demotes 10MB files, so give file size in MBs)
    Note: You can change extension type of file to create any type of file like
    fsutil file createnew test.jpg 5248



    To Enable/Disable USB in Windows

    To disable the access to USB port, in Windows OS

    1. Click Start, and then click Run.
    2. In the Open box, type regedit, and then click OK.
    3. Locate, and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
    4. In the right pane, double-click Start.
    5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
    6. Quit Registry Editor.
    To re-enable a disabled port:
    1. Click Start, and then click Run.
    2. In the Open box, type regedit, and then click OK.
    3. Locate, and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
    4. In the right pane, double-click Start.
    5. In the Value data box, type 3, click Hexadecimal (if it is not already selected), and then click OK.
    6. Quit Registry Editor.

    Windows Shortcuts


    Run Commands shortcuts
    Program
    Run Command
    Accessibility Controls
    access.cpl
    Accessibility Wizard
    accwiz
    Add Hardware Wizard
    hdwwiz.cpl
    Add/Remove Programs
    appwiz.cpl
    Administrative Tools
    control admintools
    Adobe Acrobat ( if installed )
    acrobat
    Adobe Distiller ( if installed )
    acrodist
    Adobe ImageReady ( if installed )
    imageready
    Adobe Photoshop ( if installed )
    photoshop
    Automatic Updates
    wuaucpl.cpl
    Basic Media Player
    mplay32
    Bluetooth Transfer Wizard
    fsquirt
    Calculator
    calc
    Ccleaner ( if installed )
    ccleaner
    C: Drive
    c:
    Certificate Manager
    cdrtmgr.msc
    Character Map
    charmap
    Check Disk Utility
    chkdsk
    Chrome ( if installed )
    chrome
    Clipboard Viewer
    clipbrd
    Command Prompt
    cmd
    Command Prompt
    command
    Component Services
    dcomcnfg
    Computer Management
    compmgmt.msc
    Compare Files
    comp
    Control Panel
    control
    Create a shared folder Wizard
    shrpubw
    Date and Time Properties
    timedate.cpl
    DDE Shares
    ddeshare
    Device Manager
    devmgmt.msc
    Direct X Control Panel ( if installed )
    directx.cpl
    Direct X Troubleshooter
    dxdiag
    Disk Cleanup Utility
    cleanmgr
    Disk Defragment
    dfrg.msc
    Disk Partition Manager
    diskmgmt.msc
    Display Properties
    control desktop
    Display Properties
    desk.cpl
    Display Properties (w/Appearance Tab Preselected )
    control color
    Dr. Watson System Troubleshooting Utility
    drwtsn32
    Driver Verifier Utility
    verifier
    Ethereal ( if installed )
    ethereal
    Event Viewer
    eventvwr.msc
    Files and Settings Transfer Tool
    migwiz
    File Signature Verification Tool
    sigverif
    Findfast
    findfast.cpl
    Firefox
    firefox
    Folders Properties
    control folders
    Fonts
    fonts
    Fonts Folder
    fonts
    Free Cell Card Game
    freecell
    Game Controllers
    joy.cpl
    Group Policy Editor ( xp pro )
    gpedit.msc
    Hearts Card Game
    mshearts
    Help and Support
    helpctr
    Hyperterminal
    hypertrm
    Hotline Client
    hotlineclient
    Local Security Settings
    secpol.msc
    Local Users and Groups
    lusrmgr.msc
    Logs You Out of Windows
    logoff
    inetcpl.cpl
    Malicious Software Removal Tool
    mrt
    Microsoft Access ( if installed )
    access.cpl
    Microsoft Chat
    winchat
    Microsoft Excel ( if installed )
    excel
    Microsoft Diskpart
    diskpart
    Microsoft Frontpage ( if installed )
    frontpg
    Microsoft Movie Maker
    moviemk
    Microsoft Management Console
    mmc
    Microsoft Narrator
    narrator
    Microsoft Paint
    Microsoft Powerpoint
    powerpnt
    Microsoft Word ( if installed )
    winword
    Microsoft Syncronization Tool                                               mobsync
    Minesweeper Game
    winmine
    Mouse Properties
    main.cpl
    MS-Dos Editor
    edit
    MS-Dos FTP
    ftp
    Nero ( if installed )
    nero
    Netmeeting
    conf
    Network Connections
    control netconnections
    Network Connections
    ncpa.cpl
    Network Setup Wizard
    netsetup.cpl
    Notepad
    notepad
    Nview Desktop Manager ( if installed )
    nvtuicpl.cpl
    Object Packager
    packager
    ODBC Data Source Administrator
    odbccp32
    ODBC Data Source Administrator
    odbccp32.cpl
    On Screen Keyboard
    osk
    Opens AC3 Filter ( if installed )
    ac3filter.cpl
    Outlook Express
    msimn
    Paint
    pbrush
    Password Properties
    password.cpl
    Performance Monitor
    perfmon.msc
    Performance Monitor
    perfmon
    Phone and Modem Options
    telephon.cpl
    Phone Dialer
    dialer
    Pinball Game
    pinball
    Power Configuration
    powercfg.cpl
    Printers and Faxes
    control printers
    Printers Folder
    printers
    Private Characters Editor
    eudcedit
    Quicktime ( if installed )
    quicktime.cpl
    Quicktime Player ( if installed )
    quicktimeplayer
    Real Player ( if installed )
    realplay
    Regional Settings
    intl.cpl
    Registry Editor
    regedit
    Registry Editor
    regedit32
    Remote Access Phonebook
    rasphone
    Remote Desktop
    mstsc
    Removable Storage
    ntmsmgr.msc
    Removable Storage Operator Requests
    ntmsoprq.msc
    Resultant Set of Policy ( xp pro )
    rsop.msc
    Scanners and Cameras
    sticpl.cpl
    Scheduled Tasks
    control schedtasks
    Security Center
    wscui.cpl
    Services
    services.msc
    Shared Folders
    fsmgmt.msc
    Sharing Session
    rtcshare
    Shuts Down Windows
    shutdown
    Sounds Recorder
    sndrec32
    Sounds and Audio
    mmsys.cpl
    Spider Solitare Card Game
    spider
    SQL Client Configuration
    clicongf
    System Configuration Editor
    sysedit
    System Configuration Utility
    msconfig
    System File Checker Utility ( Scan Immediately )
    sfc /scannow
    System File Checker Utility ( Scan Once At Next Boot )
    sfc /scanonce
    System File Checker Utility ( Scan On Every Boot )
    sfc /scanboot
    System File Checker Utility ( Return to Default Settings)
    sfc /revert
    System File Checker Utility ( Purge File Cache )
    sfc /purgecache
    System File Checker Utility ( Set Cache Size to Size x )
    sfc /cachesize=x
    System Information
    msinfo32
    System Properties
    sysdm.cpl
    Task Manager
    taskmgr
    TCP Tester
    tcptest
    Telnet Client
    telnet
    Tweak UI ( if installed )
    tweakui
    User Account Management
    nusrmgr.cpl
    Utility Manager
    utilman
    Volume Serial Number for C:
    label
    Volume Control
    sndvol32
    Windows Address Book
    wab
    Windows Address Book Import Utility
    wabmig
    Windows Backup Utility ( if installed )
    ntbackup
    Windows Explorer
    explorer
    Windows Firewall
    firewall.cpl
    Windows Installer Details
    msiexec
    Windows Magnifier
    magnify
    Windows Management Infrastructure
    wmimgmt.msc
    Windows Media Player
    wmplayer
    Windows Messenger
    msnsgs
    Windows Picture Import Wizard (Need camera connected)
    wiaacmgr
    Windows System Security Tool
    syskey
    Windows Script host settings
    wscript
    Widnows Update Launches
    wupdmgr
    Windows Version ( shows your windows version )
    winver
    Windows XP Tour Wizard
    tourstart
    Wordpad
    write
    Zoom Utility
    igfxzoom



    Function
            Shortcut
                                                            General
    Right Shift for eight seconds
    Turn Filter Keys on and off
    Left Alt+Left Shift+PrtScn (or PrtScn)
    Turn High Contrast on or off
    Left Alt+Left Shift+Num Lock
    Turn Mouse Keys on or off
    Shift five times
    Turn Sticky Keys on or off
    Num Lock for five seconds
    Turn Toggle Keys on or off
    Windows logo key +U
    Open the Ease of Access Center
    F1
    Display Help
    Ctrl+C (or Ctrl+Insert)
    Copy the selected item
    Ctrl+X
    Cut the selected item
    Ctrl+V (or Shift+Insert)
    Paste the selected item
    Ctrl+Z
    Undo an action
    Ctrl+Y
    Redo an action
    Delete (or Ctrl+D)
    Delete the selected item and move it to the Recycle Bin
    Shift+Delete
    Delete the selected item without moving it to the Recycle Bin first
    F2
    Rename the selected item
    Ctrl+Right Arrow
    Move the cursor to the beginning of the next word
    Ctrl+Left Arrow
    Move the cursor to the beginning of the previous word
    Ctrl+Down Arrow
    Move the cursor to the beginning of the next paragraph
    Ctrl+Up Arrow
    Move the cursor to the beginning of the previous paragraph
    Ctrl+Shift with an arrow key
    Select a block of text
    Shift with any arrow key
    Select more than one item in a window or on the desktop, or select text within a document
    Ctrl with any arrow key+Spacebar
    Select multiple individual items in a window or on the desktop
    Ctrl+A
    Select all items in a document or window
    F3
    Search for a file or folder
    Alt+Enter
    Display properties for the selected item
    Alt+F4
    Close the active item, or exit the active program
    Alt+Spacebar
    Open the shortcut menu for the active window
    Ctrl+F4
    Close the active document (in programs that allow you to have multiple documents open simultaneously)
    Alt+Tab
    Switch between open items
    Ctrl+Alt+Tab
    Use the arrow keys to switch between open items
    Ctrl+Mouse scroll wheel
    Change the size of icons on the desktop
    Windows logo key +Tab
    Cycle through programs on the taskbar by using Aero Flip 3-D
    Ctrl+Windows logo key +Tab
    Use the arrow keys to cycle through programs on the taskbar by using Aero Flip 3-D
    Alt+Esc
    Cycle through items in the order in which they were opened
    F6
    Cycle through screen elements in a window or on the desktop
    F4
    Display the address bar list in Windows Explorer
    Shift+F10
    Display the shortcut menu for the selected item
    Ctrl+Esc
    Open the Start menu
    Alt+underlined letter
    Display the corresponding menu
    Alt+underlined letter
    Perform the menu command (or other underlined command)
    F10
    Activate the menu bar in the active program
    Right Arrow
    Open the next menu to the right, or open a submenu
    Left Arrow
    Open the next menu to the left, or close a submenu
    F5 (or Ctrl+R)
    Refresh the active window
    Alt+Up Arrow
    View the folder one level up in Windows Explorer
    Esc
    Cancel the current task
    Ctrl+Shift+Esc
    Open Task Manager
    Shift when you insert a CD
    Prevent the CD from automatically playing
    Left Alt+Shift
    Switch the input language when multiple input languages are enabled
    Ctrl+Shift
    Switch the keyboard layout when multiple keyboard layouts are enabled
    Right or Left Ctrl+Shift
    Change the reading direction of text in right-to-left reading languages

                                               Dialog box shortcuts
    Ctrl+Tab
    Move forward through tabs
    Ctrl+Shift+Tab
    Move back through tabs
    Tab
    Move forward through options
    Shift+Tab
    Move back through options
    Alt+underlined letter
    Perform the command (or select the option) that goes with that letter
    Enter
    Replaces clicking the mouse for many selected commands
    Spacebar
    Select or clear the check box if the active option is a check box
    Arrow keys
    Select a button if the active option is a group of option buttons

                                          Windows Explorer shortcuts
    Ctrl+N
    Open a new window
    Ctrl+W
     Close the current window
    Ctrl+Shift+N
    Create a new folde
    End
    Display the bottom of the active window
    Home
    Display the top of the active window
    F11
     Maximize or minimize the active window
    Ctrl+Shift+E
    Display all folders above the selected folder
    Ctrl+Mouse scroll wheel
    Change the size and appearance of file and folder icons
    Alt+D
    Select the address bar
    Ctrl+E
    Select the search box
    Ctrl+F
    Select the search box

                                                       Windows Logo Keys.
    Windows logo key
    Open or close the Start menu
    Windows logo key
    Minimize all Open windows
    Windows logo key +Shift+M
    Restore minimized windows to the desktop
    Windows logo key +l
    Logoff current Windows User
    Windows logo key +T 
    Cycle through programs on the taskbar
    Windows logo key +U
    Open Ease of Access Center.
    Windows logo key +Tab
    Toggle between windows
    Windows logo key +Shift+Tab (Only Win 7)
    Toggle between Windows