Search This Blog

Tech : Tweaks for Computers

Chat With Command Prompt

Chat With Command Prompt

If you want a private chat with a friend or client on you Network, you don't need to download any fancy program!
All you need is your friends IP address and Command Prompt.
Firstly, open Notepad and enter:

@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A

Now save this as "Messenger.bat". Open the .bat file and in Command Prompt you should see:

MESSENGER
User:

After "User" type the IP address of the computer you want to contact.
After this, you should see this:
Message:
Now type in the message you wish to send.
Before you press "Enter" it should look like this:

MESSENGER
User: 56.108.104.107
Message: Hi

Now all you need to do is press "Enter", and start chatting!


Create a shutdown/restart shortcut on your desktop !

Instead of going all the way, clicking Start>Turn Off Computer and
selecting Shutdown or Restart, create their icons on your desktop :

create a SHUTDOWN ICON like this :
Right click on an empty area on your desktop.
Select New>Shortcut.
In the first box of the Create Shortcut Wizard, type : Shutdown -s -t 00
Click Next.
Name the shortcut : Shutdown , and click Finish.
Then select an appropriate icon for it !

Similarly create a RESTART icon but follow the following step instead :

In the first box of the Create Shortcut Wizard, type : Shutdown -r -t 00
Click Next.
Name the shortcut : Restart , and click Finish.
select an appropriate icon for it now

Tech : Decrease boot time

Decrease boot time

I found that creating a script to run on shutdown that deletes the temp folder and history saved 2.5 seconds on my boot time, down do 10.5 secs.

Create a batch file by doing the following:

1) Open notepad and enter the following lines:

RD /S /q "C:\Documents and Settings\"UserName without quotes"\Local Settings\History"
RD /S /q "C:\Documents and Settings\Default User\Local Settings\History"
RD /S /q "D:\Temp\" <--"Deletes temp folder, type in the location of your temp folder"

2) Save the file and then name is something like deltemp.bat

3) Now click Start, Run and type in gpedit.msc --->Computer Configuration --->Windows Settings --->Scripts and double click on Shutdown --->Click Add and find the batch file you created and press OK to set the script


Speed up your computer:
Increase your L2 cache > Improve Performance >
Correctly set your level 2 cache and improve performance !!
Open Registry by going to START-RUN and typing REGEDIT...
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SecondLevelDataCache. Based on the kind of CPU you have, this value should change. Here are some of the defaults.
Intel Celeron - 128 , AMD Duron - 64. PII and Athalon: 512. Cyrix and AMD K6-3 256. Pentium IV-1024.
Figure out what your CPU type is and what L2 cache it supports and set it accordingly.

To disable right click on your computer..........
* Open Registry Editor (use 'regedit' command in Run)

* GO THROUGH FOLLOWING PATH....
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
* In right side pane create a new DWORD VALUE (Right click and choose New->DWORD value).
*Give 'NoViewContextMenu' as it's name.
*Set the value to 1.
*Now close the Registry Editor and Restart your system....
Now the right click is disabled in your computer.....Even the keyboard shortcuts also might not work.

To get the right click back....
* Open Registry Editor (use 'regedit' command in Run)
* GO THROUGH FOLLOWING PATH....
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
* In right side pane delete the DWORD value 'NoViewContextMenu'.
*Restart your system.
Now you got back your right click menu.

Cosmos: Anti-Us....Anti-Matter

yeah yeah...i know you know about antimatter, after watching Angels and Demons you might know a thing or two about anti mater,
but do you really know what is anti matter?
ok its called the god particle blah blah...etc etc
but what it is exactly...why we are so very afraid of it?
well to start with it.its anti us..anti you..........anti me...........anti us

it was given attention first in 1880's . somebody like me was relaxing and he had nothing to do, and a thought was troubling him that everything has opposites...north-south, east-west, black-white, good-bad...and so on...but if looked closely..they were all made of one and the same thing....
thing
this kept intriguing him, thing means matter.....is there a thing with is opposite of matter...hence called antimatter.
so he proposed and all, until it was established that yes there might be a thing called antimatter, then in 1928 Paul Dirac when studied Schrödinger wave equation which incidentally suggested that there is possibility of antimatter being existent after all.

this was story so far...nope..there's more..
it was thought by that time that scientist were trying to make science god by making this thing called anti matter and the Catholics will loose faith, hence it was really tried to suppress, but not on large scale because they were too late for that..
if we look deeper into thing antimatter, it is the smallest part of any thing
for knowing antimatter...fist one must understand matter and atom
take a cube of cheese, cut in half, take the half, cut half again, now you have 1/4th cut that 14th into 1/2 again..do till you have such small part that you cannot possibly divide and cut it into half...that is atom
practically you cannot do that with your kitchen knife
but theoretically you will get atom, atom is the base of matter...
if we go inside atom, we have electrons, protons, and neutrons
electrons- negatively charged particles
protons-positively charged particle
neutrons-no charge
these are the basic things everything on earth has....every matter

so antimatter must be which doesn't have all these?

we don't know yet
, we don't know that what it is made off, what is in it?
but what we knew is that, is is anti matter...one which destroys matter,
we know that even a speck of antimatter can destroy and create such a destruction that no human have ever witnessed it
when atom bomb was discovered, people feared it, when nuclear bomb was discovered, people feared it again, and now antimatter is on verge of being discovered, people are making it
im not against making it, but why not know the process of destroying it?
anyway..im supposed to count chickens before they hatch....so
lets look at egg.....antimatter
its reality that when a speck of antimatter comes in contact of anything(matter) it will surely release huge-vast amount of energy..which as shown in Angels and Demons was exactly what would happen.
a small speck would release so much energy which would be equal to many megatons of TNT and many time bigger than nuclear bombs

to be exact one gram of antimatter will be almost equal to
0.042960000000000005 megatons of destructive force
A megaton is a unit of energy approximately equivalent to the energy released
in the detonation of 1,000,000 tons of TNT. Used to specify the energy output, and hence
destructive power, of nuclear weapons.
and to give you an idea about the destructive power of various thing..take a look at table below then decide :)

Seymour Narrows, British Columbia 1958. 1,375 tons of chemical explosives. 1.375 kilotons
Little Boy, the atomic bomb dropped on Hiroshima, Japan on August 6, 1945. 13 kilotons.
Fat man, the atomic bomb dropped on Nagasaki, Japan on August 9, 1945. 20 kilotons.
The Tanguska / Tunguska Event (spelling is in dispute), suspected comet impact in Tanguska, Russia on June 30, 1908. 10 megatons
The Bravo test, one of the Bikini Atoll bomb tests. February 1954, was, at 15 megatons, the most powerful bomb ever detonated by the United States--far bigger than expected. 15 megatons
One pound of antimatter 19.5 megatons
Mount St. Helens May 18, 1980. 24 megatons
The 2004 Indian Ocean earthquake. December 26, 2004 at 00:58:53 UTC. An undersea earthquake with an epicentre off the west coast of Sumatra, Indonesia. The earthquake generated a tsunami that is considered one of the deadliest natural disasters in history. 26.3 megatons
Tsar Bomba, the largest nuclear weapon ever detonated 11:32 AM 30 October 1961 (Moscow Time) Such a device could be souped up to deliver a 100 megaton blast. 50 megatons
The third 1883 eruption of Krakatoa 150 megatons
Hurricane Katrina hitting the Gulf Coast. At full power, a hurricane like Katrina releases 10 megatons every 20 minutes. 300 megatons
World War III, computed as the simultaneous explosion of all known nuclear devices (about 15,000 today). 10,000 megatons
"Dinosaur Killer" Impact of 10-15 km asteroid traveling at 20 kilometers per second. 100,000,000 megatons or 10^8 megatons
A supernova, an explosion powerful enough to destroy a solar system. one billion billion billion megatons or 10^27 megatons


so now you see how destructive is antimatter.......any doubts?