Tuesday, September 20, 2011

Run a program automatically when Windows starts

If you always open the same programs after starting your computer, such as a web browser or e‑mail program, you might find it convenient to have them start automatically when you start Windows. Programs or shortcuts placed in the Startup folder will run whenever Windows starts.

How to add a program to Startup folder.

  1. Click the Start button, click All Programs, right-click the Startup folder, and then click Open.
  2. Open the location that contains the item to which you want to create a shortcut.
  3. Right-click the item, and then click Create Shortcut. The new shortcut appears in the same location as the original item or create the Shortcut to Desktop.
  4. Drag the shortcut into the Startup folder or cut and paste the shortcut to the Startup folder.

Auto text entries

Auto text entries in Microsoft word.

Auto text entries are used to save text or images which you use often in your word docs, and you can regenerate the text or image using fewer keystrokes.

How to create an Auto text entry.


  1. Select the text or graphic you want to store as an AutoText entry.
  1. On the Insert menu, point to AutoText, and then click New or use the shortcut key Alt+F3.
  2. When Microsoft Word proposes a name for the AutoText entry, accept the name or type a new one.
If you plan to insert the entry by using AutoComplete, make sure the name contains at least four characters because Word inserts an entry only after four characters have been typed.

Monday, September 19, 2011

Get list of files or folder present in a folder

To get the list of files and subfolders present in a folder instantly use the following technique.

Step:1

Open the note pad and copy the following code and save the file as "getdirlist.bat"

****************************************************************
Code:

    @echo Files and Folder listing in a directory by Raj.
    @dir %1 /b > _dirListing.txt
    @echo Opening _dirListing.txt in Notepad (Closing notepad will delete the file so copy the content)
    @notepad _dirListing.txt
    @echo Deleting _dirListing.txt
    @del _dirListing.txt
    @pause

****************************************************************

Step:2

In the run command type "%userprofile%\SendTo" and press enter.
It will open the SendTo folder paste the saved  "getdirlist.bat" in the SendTo folder.

Step:3

Open the the directory which contains the folder which you want the list of files and folders.
Right click on the folder which you want the list and select Send To > getdirlist
It will open a notepad containing the files and folder names from which you can copy the list.

Note: Once you close the notepad the list will be deleted.


Setup New Mail Desktop Alert in outlook xp and 2003

To run outlook at background and check for new mails and notify you. Use the following steps.

Step:1

You have to first enable auto sending and receiving in outlook.

1. In Outlook 2003 or 2002 click on Tools menu, click Options.



2.Click on the Mail Setup tab then check Send immediately when connected, then click the Send/receive button.
























3.Then set the amount of time between send/receive attempts.

























Step:2

Enable new mail notification in outlook.

In Outlook 2003 or 2002 click on Tool \ Options…


  1. On the Tools menu, click Options.
  2. Click E-mail Options, and then click Advanced E-mail Options.
  3. Under When new items arrive in my Inbox, select the Display a New Mail Desktop Alert (default Inbox only) check box.
  4. To specify the duration or transparency of the alert, click Desktop Alert Settings, and then select the options you want.
Step:3

In Outlook 2003..

1.    Right-click on the Outlook icon in the System Tray:









2.    Select Hide When Minimized from the menu.

In Outlook 2002.


1.    Run the Regedit (Registry Editor).











2.    Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Preference subkey.

3.   Add a new DWORD Value. It should be named 'MinToTray', with a value of "1".
4.   Close Regedit and restart outlook.


Or

Copy the code below to note pad and save it as "outlook.reg" and run that file once.

Code:

*******************
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Preferences]

"MinToTray"=dword:00000001

*******************