Archive for May 2009

Create new Shell command

I have tried this in XP SP2, works fine..

Hello guys,
I've been trying to create a new shell command and I was successful. Actually, I have crashed my test desktop. Haha. I was so glad it was just a test desktop. Not the real computer I've been using. Well, it is not a loss for me, crashing that desktop. It was actually crashed already, just repaired it so I can still use it in trying some dangerous things. Haha.

Back to the tweak. Well, it really worked. I was so happy, I had fun and I want to share it with you.

Here's a sample :






Instructions:
1. Open regedit . START>RUN type regedit. Press enter.
2. Locate
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\Shell
*note if there is no Shell key in the * Key. Create one by right clicking
then New -> key name it Shell
3. Create a new key inside Shell, name it whatever you want. Then, set the default value to anything you like.. In my example, I set it to
" zmrac.blogspot.com try it! =p haha. it works.... " (without the quotes of course).

You're actually done there, but there's still more. What if they click on that shell? Are there any actions?

If there's no command given. it will generate an error.. see the image below.









(P.S. Sorry for the image.. I dunno what's the problem with blogspot upload images.. hahaha.. )

To add a command.

1. Under the key that you created after the Shell key, or where you set your default value.. Create a new key, name it Command
2. Set the default value to a location of an application you want to open or execute after clicking your new Shell.. for example.. "D:\Games\Game.exe" ( now with qoutes included! ).

Now it's complete. Have fun! hahaha... Remember Google's all time motto.. "Don't be evil". You know what I mean. :p

Manipulating Default Setup Locations

XP SP2 only

Noticed that your system drive is already full? This maybe due to installing applications in the drive even if it's already full.

Here's one way to prevent this problem. But, before you do this you must know when will you apply this. You can apply this if the default or the system drive is getting full. For example, your free space in your drive where C:\Program Files\ is located, is already less than 1.0Gb, then this maybe a good time to do this.

What will we do here is to change the default location for installing applications

1. Go to your registry editor. START->RUN type regedit
2. Go to this location
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
3. Look for ProgramFilesDir
4. Right-click on it and click modify
5. Type the new location for installing apps and press enter.

Your done! It's better to restart your computer after the edit for it to take effect.