Sunday, 30 June 2013

How to hide drives from My Computer in Windows

With this trick you can play with u'r college pc...after this hack if some one opens my computer he/she'll not see any drive in my computer.Open Registry Editor by typing "regedit.exe" in Run or in command prompt. There you navigate to registry entry HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer Now in the right pane create a new DWORD item (by rightclicking and new->dword) and name it NoDrives ( case sensitive).
Now modify it's value by double clicking it and set it to 3FFFFFF (Hexadecimal) .
Restart your computer. So, now when you click on My Computer, no drives will be seen.
To enable display of drives in My Computer, simply delete that DWORD item NoDrives that you created (it can be deleted by navigating to HKEY_CURRENT_USERSoftware MicrosoftWindowsCurrentVersionPoliciesExplorer and selecting the NoDrives and deleting it..del key...).
Again restart your computer.
You can now see all the drives again.

How to create Text Boxes in HTML Forms

For most form elements, the word INPUT is used to set up the element. Next, you type a space followed by the word TYPE. This tells the browser what type of form elements to draw on your page. If you want a text box, the TYPE to use is "Text":


<INPUT TYPE = "Text">


(Notice that there is no end tag for INPUT.)


Next, you add the attributes you want. There are quite a lot of attributes for text boxes. The three most common ones are Size, Value, and Name. Size refers to how long the text box is in pixels rather than the number of characters it can contain. It's a good idea to limit how many text characters can fit into your text box, and for this the Maxlength attribute is used:


<INPUT TYPE = "Text" Size = 20 Value = "" Name = "text1" Maxlength="15">


The Value attribute means the text that will be typed in your text box. You can set some default text, if you like:


<INPUT TYPE = "Text" Size = 20 Value = "Default Text Here" Name = "text1">


Whatever is between the two quote marks of VALUE is what you get back when the form is sent somewhere.


A Name attribute should be added so that you can refer to it in scripts. It distinguishes it from any other text box you may have on your form.


Some other text box attributes are:


Accesskey
Height
TabIndex
Width


Height and Width are self-explanatory. Accesskey refers to a keyboard shortcut you can add, while TabIndex is a number value and refers to where the cursor will end up when you press the Tab key on your keyboard. As an example, take a look at the following three text boxes:


<INPUT TYPE = "Text" TabIndex="2">
<INPUT TYPE = "Text" TabIndex="3">
<INPUT TYPE = "Text" TabIndex="1">


The third of the three text boxes above will be activated first when the tab key is pressed. Press the tab key again and the cursor will appear in the top text box, followed by the middle one. You can really annoy your visitors if you get the tab index wrong

Wednesday, 19 June 2013

How to Keep the Windows XP Core in the RAM

If you have 512 MB or more of RAM, you can increase system performance by having the Windows XP 'Core' kept in the RAM instead of paged on the hard disk.

Go to Start -> Run - Type regedit and press enter - On the left hand side tree, navigate to

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management

- On the list on the right side, look for an entry called 'DisablePagingExecutive'
- Double click it
- Press 1 on your keyboard
- Click OK
- Exit regedit and reboot the computer

To revert to the default setting, follow the same steps as above, but this time, press 0(zero) instead of 1 on the keyboard.

Sunday, 16 September 2012

Improve Windows XP Shutdown Speed

This tweak reduces the time XP waits before automatically closing any running programs when you give it the command to shutdown.
Go to Start then select Run
Type 'Regedit' and click ok
Find 'HKEY_CURRENT_USERControl PanelDesktop'
Select 'WaitToKillAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'
Now select 'HungAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'


Now find 'HKEY_USERS.DEFAULTControl PanelDesktop'
Select 'WaitToKillAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'
Now find 'HKEY_LOCAL_MACHINESystemCurrentControlSetControl'
Select 'WaitToKillServiceTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'

Single Click Shutdown for Windows OS

Did you know that in Windows XP you can shut down your computer from the (eventually DOS prompt) command line box? Moreover, you can do this by clicking your mouse only once.

All you need to do is... right-click on an empty Desktop spot -> select New -> Shortcut -> type shutdown followed by a space, and then enter one or more of the parameters listed below -> click Next -> type a suggestive name for your new shortcut -> finally, click Finish.

This is the Shutdown.exe (located in %systemroot%System32, usually C:WindowsSystem32) syntax:

shutdown [-i|-l|-s|-r|-a] [-f] [-m \computername] [-t xx] [-c "Text"] [-d[u][p]:xx:yy]>

Valid command line switches:

-a = Abort system shutdown in progress ONLY IF the -t xx timeout option was already set to ANY value other than 0. ALL switches except -l and -m are ignored during abort.

-c "Text" = Text comment (case insensitive) to be displayed in the Message area of the System Shutdown window. MUST be enclosed between quotes. Maximum allowed 127 ASCII characters.

-d [u][p]:xx:yy = Reason code for shutdown:
u = User code.
p = Planned shutdown code.
xx = Major reason code. Positive integer number less than 256.
yy = Minor reason code. Positive integer number less than 65536.

-f = Force running applications to close without warning.

-i = Display the shutdown interface (GUI). MUST be the first option!

-l = Log off the current user of the local computer (default action). Can NOT be used with the -m option unless the current user has Sysadmin rights, in which case the -m switch takes precedence.
-m \computername = Remote/network computer name (most always case sensitive) to log off/restart/shut down. Current user MUST have Sysadmin rights to be allowed to use this switch!

-s = Shut down the local computer.

-r = Shut down and restart (reboot) the local computer.

-t xx = Set shutdown timer to timeout for xx seconds. IF NOT specified defaults to 20 seconds. Allowed values between 0 and 99 seconds. The -a switch is the ONLY one that CAN be used during the timeout period.

NOTE:
The dash (-) in front of these switches can be replaced by a forward slash (/).

Spaces are NOT required to separate the shutdown command from ANY following switches, but ARE required to separate ANY switch from its following parameter(s), if any.
For example:

shutdown -s -c "Shutting down!" -t 3

tells your computer to shutdown after waiting for 3 seconds while the System Shutdown window will display text above in the Message area.

Optional: after you're done creating your customized shortcut for shutdown -> right-click on it -> select Properties -> enter your desired key "combo" in the Shortcut Key box (e.g. Ctrl + Alt + End) -> click OK/Apply.
From now on just left-click on your shutdown shortcut or hit that key combination to turn off/restart/log off your computer.

Install Net Meeting

Wondering how to install Netmeeting on Windows XP? Well you don't have to install it! Why? It is already pre-installed with Windows XP, but (by design they say) it isn't linked to anywhere on your programs menu. Here is how to load it:

1: Click START then RUN
2: Enter "conf" without the quotes

That's it - now you can Netmeet to your hearts content.

Saturday, 8 September 2012

Make Undeletable Or Unreadable Folders

Make Undeletable Or Unreadable Folders


By holding down alt, then typing numbers on the number pad (right of the keyboard) you can create special characters. If you hold down alt, then press 1, then let go, you got the ascii character 1. You try some randomn numbers. This goes all the way up to 255. Open a dos prompt, and type md (alt+1+9+4)someword. md is the dos command to make a directoy, now try and open the directory in Windows, you can't. To open it, type ren (alt+1+9+4)someword someword (ren is the dos command to rename).