Search This Blog

Wednesday, February 10, 2010

Hibernate from Run Command

Hibernate from Run Command

Make sure that the system is hibernation enabled. To confirm that,

* Click the Start button
* Go to Run menu and type in Powercfg.cpl and click OK
* In the Power Options Properties click Hibernate tab and make sure that Enable hibernation option is checked
* Click OK/Apply

Click the Start button, go to Run menu and type in

%windir%System32rundll32.exe powrprof.dll,SetSuspendState

Click OK

As long as Hibernation is enabled in Power Options, the above command in a batch file will cause the computer to hibernate.

How To Edit and Delete Run Command History

Using Registry

The history of Run command is called RunMRU and is stored in the following registry key:

HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer > RunMRU

On the right hand pane, you will find out all the recently typed commands in the Run dialog. You can select any of them and delete. This will make sure that thecommand doesn’t show up as a suggestion when you start typing in Run box.

Use Mouse as Keyboard and Keyboard as Mouse

Work Without Mouse


Press ALT+Shift+Num Lock

You will hear a beep and then you can see windows asking for using MouseKeys. Click OK. You will see mouse like tray icon if it is crossed like this Use Mouse as Keyboard & Keyboard as Mouse then press Num Lock again. Now use the Numeric Keypad to move cursor around.

8 key for Up, 2 for down, 4 for left, 6 for right

When you want to use the Left click of mouse Press 5. For right click you can use this key on the keyboard.

The cursor moves very slow but you can speed it up. By pressing ALT+Shift+Num Lock you will see a dialogue click on settings again click settings, and then select hold down Ctrl to speed up and Shift slow down. Now when you want to move cursor then hold Ctrl and then press any key to move the cursor through numeric keypad. It will speed up now.


Work Without Keyboard

You can work with mouse click without keyboard.

Start -> RUN
Type osk
Hit Enter

Change Your Dynamic IP Address

Following is supposed to change your dynamic IP Address. Open notepad and type:

ipconfig /flushdns
ipconfig /refresh
ipconfig /renew
ipconfig /all>newip.txt
end


then save as (select all file types) --- ip.bat

this is now a batch file rather than a txt file. Simply hit run on the file and watch the progress.

If you want to print out the results then add this line into the same file befoe "END"

ipconfig /all>filename. txt

A report will be saved in the same directory as your batch file, detailing your new ip and a bit more...

Ms Word Tricks

Open a blank Word document and type the following:

=rand(200,99)

Press 'Enter' afterwards... Wait 5 seconds!
see what happens

Remember!!! Type it, don't copy paste it otherwise it may not work.

Sunday, January 31, 2010

LoCk yOuR FoLdEr yOuRsELf

first select a folder
for ex. i will use a folder name
"rohan" in D:/ drives
D:/rohan/
in the same drive you create a text
file and type

ren rohan rohan.{21EC2020-3AEA-1069-A2DD-08002B30309D}

& save it as Lock.bat

again you type notepad as

ren rohan.{21EC2020-3AEA-1069-A2DD-08002B30309D} .rohan

& save it as Key.bat

rOhAN















Friday, January 22, 2010

Show Computer and Username on Desktop (Windows XP)

BACK UP REGISTRY: So to open the registry editor click on "START", "RUN", then type "REGEDIT" (No speech marks). The registry editor will now open, click on "FILE" then "EXPORT". From the save window that appear type in a file name (ie regback.reg), now click on "SAVE". Your registry has now been backed up.

TO CHANGE NAME: Now on the left hand panel click on "HKEY_CLASSES_ROOT", "CLSID" then "{20D04FE0-3AEA-1069-A2D8-08002B30309D}".

Next search for "LocalizedString" in the right hand panel, right click on it and select "Rename". change name to "LocalizedString.old".

Right click on blank white area in right panel and select "NEW" then left click on "REG_EXPAND_SZ" or "EXPANDABLE STRING VALUE". Name the new string value in right hand panel as "LocalizedString".

Now to set the value, double click on the string value and set it's value to :

"%USERNAME% on %COMPUTERNAME%"

for just username then use "%USERNAME%"

for just computer name then use "%COMPUTERNAME%"

Disclaimer: This information is provided as is and we cannot guarantee that editing the registry will not cause serious damage. You use this information at your own risk.

Custom Logon Message When You Login To The PC

Go To Start/Run/regedit then

"HKEY_CURRENT_MACHINE" , "Software", "Microsoft", "Windows NT", "CurrentVersion" then "WinLogon".

On the right hand panel find "LegalNoticeCaption", double click on it and add the title text that you wish to use, i.e. "WARNING" or "HELLO" or what ever you want. Click on OK to confirm.

Next double click on "LegalNoticeText" and add your message, i.e. "Don't delete files from my computer" or "Welcome to my computer" or what ever you want. Click on OK to confirm.

When you reboot a message screen will appear before the login screen with your message. You can put quite allot of text in the message.

World Countries, their Capitals, their Currencies

Country - Capital - Currency -

Afghanistan - Kabul - Afghani -
Albania - Tirana - Lek -
Algeria - Algiers - Dinar -
Andorra - Andorra la Vella - Euro -
Angola - Luanda - New Kwanza -
Antigua and Barbuda - Saint John's (Antigua) - East Caribbean Dollar -
Argentina - Buenos Aires - Peso -
Armenia - Yerevan - Dram -
Australia - Canberra - Australian Dollar -
Austria - Vienna - Euro -
Azerbaijan Republic of - Baku (Baki) - Manat -
Bahamas - Nassau - Bahamian Dollar -
Bahrain - Al-Manama - Bahrain Dinar -
Bangladesh - Dhaka - Taka -
Barbados - Bridgetown - Barbados Dollar -
Belarus - Minsk - Belorussian Rubel -
Belgium - Brussels (formerly Belgian Franc) - Euro -
Belize - Belmopan - Belize Dollar -
Benin - Porto Novo (official capital); Contonu (seat of govt.) - CFA Franc -
Bhutan - Thimphu - Ngultrum -
Bolivia - La Paz (seat of govt.); Sucre (capital and seat of judiciary) - Boliviano -
Bosnia and Herzegovina - Sarajevo - Marka -
Botswana - Gaborone - Pula -
Brazil - Brasilia - Real -
Brunei - Bandar Seri Begawan - Brunei Dollar -
Bulgaria - Sofia - Lev -
Burundi - Bujumbura - Burundi Franc -
Cambodia - Phnom Penh - Riel -
Cameroon - Yaound' - CFA Franc -
Canada - Ottawa - Canadian Dollar -
Cape Verde - Praia - Cape Verdean Escudo -
Central African Republic - Bangui - CFA Franc -
Chad - N'Djamena - CFA Franc -
Chile - Santiago - Chilean Peso -
China - Beijing - Yuan/Renminbi -
Colombia - Santa Fe de Bogot - Colombian Peso -
Comoros - Moroni - Franc -
Congo Dem. Republic of - Kinshasa - Congolese Franc -
Congo Republic of - Brazzaville - CFA Franc -
Costa Rica - San Jose - Colon -
Cote d'Ivoire - Yamoussoukro - CFA Franc -
Croatia - Zagreb - Kuna -
Cuba - Havana - Cuban Peso -
Cyprus - Lefkosia (Nicosia) - Cyprus pound -
Czech Republic - Prague - Koruna -
Denmark - Copenhagen - Krone -
Djibouti - Djibouti - Djibouti Franc -
Dominica - Roseau - East Caribbean Dollar -
Dominican Republic - Santo Domingo - Dominican Peso -
East Timor - Dili - US Dollar -
Ecuador - Quito - US Dollar -
Egypt - Cairo - Egyptian Pound -
El Salvador - San Salvador - Colon / US Dollar -
Equatorial Guinea - Malabo - CFA Franc -
Eritrea - Asmara (Formerly Asmera) - Nakfa -
Estonia - Tallinn - Kroon -
Ethiopia - Addis Ababa - Birr -
Fiji - Suva (Viti Levu) - Birr -
Finland - Helsinki - Euro (Formerly Marka) -
France - Paris - Euro (Formerly French Franc) -
Gabon - Libreville - CFA Franc -
Gambia - Banjul - Dalasi -
Georgia - T'bilisi - Lari -
Germany - Berlin - Euro (Formerly Deutsche Mark) -
Ghana - Accra - Cedi -
Greece - Athens - Euro (Formerly Drachma) -
Grenada - Saint George's - East Caribbean Dollar -
Guatemala - Guatemala City - Quetzal -
Guinea - Conakry - Guinean Franc -
Guinea Bissau - Bissau - CFA Franc -
Guyana - Georgetown - Guyanese Dollar -
Haiti - Port-au-Prince - Gourde -
Honduras - Tegucigalpa - Lempira -
Hungary - Budapest - Forint -
Iceland - Reykjavik - Icelandic Krona -
India - New Delhi - Rupee -
Indonesia - Jakarta - Rupiah -
Iran - Tehran - Rial -
Iraq - Baghdad - Dinar/US Dollar -
Ireland - Dublin - Euro (Formerly Irish Pound) -
Israel - Jerusalem1 - Shekel -
Italy - Rome - Euro (Formerly Lira) -
Jamaica - Kingston - Dinar -
Japan - Tokyo - Yen -
Jordan - Amman - Dinar -
Kazakhstan - Astana2 - Tenge -
Kenya - Nairobi - Kenya Shilling -
Kiribati - South Tarawa - Australian Dollar -
Korea North - Pyongyang - Won -
Korea South - Seoul - Won -
Kuwait - Kuwait City - Kuwaiti Dinar -
Kyrgyzstan - Bishkek - Som -
Laos - Vientiane - New Kip -
Latvia - Riga - Lat -
Lebanon - Beirut - Lebanese Pound -
Lesotho - Maseru - Loti -
Liberia - Monrovia - Liberian Dollar -
Libya - Tripoli - Libyan Dinar -
Liechtenstein - Vaduz - Swiss Franc -
Lithuania - Vilnius - Litas -
Luxembourg - Luxembourg Ville - Euro (Formerly Luxembourg Franc) -
Macedonia - Skopje3 - Denar -
Madagascar - Antananarivo - Ariary -
Malawi - Lilongwe - Kwacha -
Malaysia - Kuala Lumpur4 - Ringgit -
Maldives - Male - rufiyaa -
Mali - Bamako - CFA Franc -
Malta - Valletta - Maltese Lira -
Marshall Islands - Majuro - Us Dollar -
Mexico - Mexico City (Distrito Federal) - Mexican Peso -
Micronesia Fed. States of - Palikir - US Dollar -
Moldova - Chisinau - Leu -
Monaco - Monaco Ville - Euro -
Mongolia - Ulaanbaatar - Tugrik -
Morocco - Rabat - Dirham -
Montenegro - Padgorica - Euro -
Mozambique - Maputo - Metical -
Myanmar - Rangoon5 - Kyat -
Namibia - Windhoek - Namibian Dollar -
Nauru - No official capital; govt offices in Yaren District - Australian Dollar -
Nepal - Kathmandu - Napalese Rupee -
Netherlands - Amsterdam - Euro -
New Zealand - Wellington - New Zealand Dollar -
Nicaragua - Managua - Gold Cordoba -
Niger - Niamey - CFA Franc -
Nigeria - Abuja - Naira -
Norway - Oslo - Norwegian Krone -
Oman - Muscat - Omani Rial -
Pakistan - Islamabad - Pakistan Rupee -
Palau - Koror - US Dollar -
Panama - Panama City - Balboa / US Dollar -
Papua New Guinea - Port Moresby - Kina -
Paraguay - Asuncion - Guarani -
Peru - Lima - Nuevo sol -
Philippines - Manila - Peso -
Poland - Warsaw - Zloty -
Portugal - Lisbon - Euro (Formerly Escudo) -
Puerto Rico - San Juan - US Dollar -
Qatar - Doha - Qatari Riyal -
Romania - Bucharest - Leu -
Russia - Moscow - Ruble -
Rwanda - Kigali - Rwanda Franc -
St. Kitts and Nevis - Basseterre - East Caribbean Dollar -
St. Lucia - Castries - East Caribbean Dollar -
St. Vincent & the Grenadines - Kingstown - East Caribbean Dollar -
Samoa - Apia - Tala -
San Marino - San Marino - Euro -
Sao Tome and Principe - Sao Tome - Dobra -
Saudi Arabia - Riyadh - Riyal -
Senegal - Dakar - CFA Franc -
Serbia - Belgrade - Yugoslav new dinar -
Seychelles - Victoria - Seychelles Dollar -
Sierra Leone - Freetown - Leone -
Singapore - Singapore - Singapore Dollar -
Slovakia - Bratislava - Koruna -
Slovenia - Ljubljana - Slovenian Tolar -
Solomon Islands - Honiara - Solomon Islands Dollar -
Somalia - Mogadishu - Somali Shilling -
South Africa - Pretoria6 - Rand -
Spain - Madrid - Euro (Formerly Peseta) -
Sri Lanka - Colombo7 - Sri Lanka Rupee -
Sudan - Khartoum - Dinar -
Suriname - Paramaribo - Surinamese Dollar -
Swaziland - Mbabane8 - Lilangeni -
Sweden - Stockholm - Krona -
Switzerland - Bern - Swiss Franc -
Syria - Damascus - Syrian Pound -
Taiwan - Taipei - Taiwan New Dollar -
Tajikistan - Dushanbe - Somoni -
Tanzania - Dar es Salaam9 - Tanzanian Shilling -
Thailand - Bangkok - Baht -
Togo - Lome - CFA Franc -
Tonga - Nuku'alofa - Pa'anga -
Trinidad and Tobago - Port-of-Spain - Trinidad and Tobago Dollar -
Tunisia - Tunis - Tunisian Dinar -
Turkey - Ankara - Turkish New Lira (YTL) -
Turkmenistan - Ashgabat - Manat -
Tuvalu - Funafuti10 - Australian dollar -
Uganda - Kampala - Ugandan New Shilling -
Ukraine - Kiev - Hryvna -
United Arab Emirates - Abu Dhabi - UAE Dirham -
United Kingdom - London - Pound Sterling -
United State - Washington DC - US Dollar -
Uruguay - Montevideo - Uruguay Peso -
Uzbekistan - Tashkent (Toshkent) - Uzbekistani Som -
Vanuatu - Port-Vila (Efate) - Vatu -
Vatican City (Holy See) - Vatican City - Euro -
Venezuela - Caracas - Bolivars -
Vietnam - Hanoi - Dong -
Yemen - Sana - Rial -
Zambia - Lusaka - Kwacha -
Zimbabwe - Harare - Zimbabwean dollar -