Sunday, July 22, 2007

HOW TO USE FTP

::Don't use this for illegal stuff::

Introduction:

Telnet is used to connect to remote machines through emulation. This means that
it can connect to a server, any server instantly because of it's ability to emulate (copy)
remote computers.

Lets Start:

In Windows, Telnet can be found by going to Start -> Run and then typing telnet.
The application should then pop up. If you don't have Windows, there are many Telnet alternatives for mac, linux etc. Since I don't know any,search the internet for Telnet for Linux or Telnet for Mac and you should find something instantly.

If you have a PC and are using Windows 98/95, 2000, Me, or XP continue...
As you can see, Telnet has 4 menu options. These are Connect, Edit, Terminal, and Help.
If you click Connect, you should see more options. Here they are.
Connect:
Remote System..
Disconnect
Exit
Names of servers you have been on.
To connect to a server, click Remote System...
This will then take you to a dialog box that has these fields:
Hostname:
Port:
TermType:
There should also be a Connect button and a Cancel Button.
Lets go over these & what you should put in them.
-Hostname-
The Hostname can be the address of the website your going to be connecting to:
http://www.oreos.com
or it can be the IP address. Keep in mind that you can only connect to servers and not to clients (other PCs)
an IP Address looks like this:
210.111.23.45
-Port-
Port can bb either the port number you wanna connect to on the server (Port 80 is the Internet, Port 23 is Simple Mail Protocol then there are some more ports for different things..)
or you can keep it Telnet and see what happens.
-TermType-
TermType is the type of Terminal telnet will be acting like.
This doesn't matter most of the time, so you can keep it to default or try other ones if you want.
When you have all this set up, you can Click Connect & see what happens.
Note: Sometimes many servers don't like anon people just logging on, so be careful when logging onto servers, because sometimes it might be some big company that likes bullying people or just SOMEONE who likes bullying people and then they might want to find you or trace you or something and I know for a fact you don't need that happening.
Another Note: When you go to a server and type something, such as a login name or a password, you might not see anything even though you are typing. this is a feature that telnet or the other server uses. It's for some kind of safety measure.
Ok that's all for the Connect Menu, lets go over the Terminal menu.
The terminal menu should have 3 options:
Prefernces
Start Logging
Stop Logging.
-Prefernces-
If you go to this, a dialog box will come up with various options. Here, you can change the
text color & background color of the program, and you can enable Local Echo, which shows
you everything you've typed, Blinking cursor if you want the cursor to blink check it, if not uncheck, Block cursor if you want the cursor to be shown as a block, VT100 Arrows, don't worry about these they are useless, Buffer Size, this allows you to set the number of lines of text you want to be shown before the screen starts to scroll, The Terminal emualtion type, always have this set on the default unless you know what the second one is and you know what your doing.
-Start Logging-
This logs everything you do on Telnet in a log file on your computer.
-Stop Logging-
This will stop logging processes.
Well that's it for this tutorial

cheat with windows games

Game Secrets


FreeCell

Secret - Instant Win
Instructions - Hold down Ctrl + Shift + F10 during game play. Then you will be asked if you want to Abort, Retry or Ignore. Choose Abort, then move any card to instantly win.

Secret - Hidden Game Modes
Instructions - In the "Game" menu choose "Select Game". Enter -1 or -2 to activate the hidden game modes.

Minesweeper


Secret - Reveal Mines
Instructions - Minimize or close all running applications. Launch Minesweeper, then type xyzzy. Next hold down either shift key for one second. Now when you move the mouse cursor over a Minesweeper square you will see a tiny white pixel in the top left corner of your desktop screen. This pixel will change to black when your mouse moves over a mine. You may need to change you desktop background to a solid color other then white or black to see the pixel.

Pinball


Secret - Extra Balls
Instructions - Type 1max at the start of a new ball to get extra balls.

Secret
- Gravity Well
Instructions - Type gmax at the start of a new game to activate the Gravity Well.

Secret
- Instant Promotion
Instructions - Type rmax at the start of a new game to go up in ranks.

Secret - Skill Shot
Instructions - Launch the ball partially up the chute past the third yellow light bar so it falls back down to get 75,000 points. There are six yellow light bars that are worth a varying amount of points:

First: 15,000 points
Second: 30,000 points
Third: 75,000 points
Fourth: 30,000 points
Fifth: 15,000 points
Sixth: 7,500 points

Secret
- Test Mode
Instructions - Type hidden test at the start of a new ball to activate Test Mode. No notification will be given that this is activated but you can now left-click the mouse button and drag the ball around.

Secret - Unlimited Balls
Instructions - Type bmax at the start of a new ball. No notification will be given that this is activated but when a ball is lost a new ball will appear from the yellow wormhole indefinitely. Once this is activated you will be unable to activate other secrets without restarting the game.

Solitaire

Secret
- Instant Win
Instructions - Press Alt + Shift + 2 during game play to instantly win.

Secret
- Draw single cards in a Draw Three game
Instructions - Hold down CTRL + ALT + SHIFT while drawing a new card. Instead of drawing three cards you will only draw one.

Customize ur desktop as a live webpage.....

<html>
<body>

<iframe
src ="<a href="http://www.google.com/" target="_blank">http://www.google.com</a>"
width="100%" height="100%">
</iframe>

</body>
</html>




paste above link in notepad and save as .html and go to desktop properties and click on browse and go to .html file and


enjoy...................................

....

Send a fax from your web browser free

Enter into the link and send fax through the browser free..........: http://www.tpc.int/

How to lock the folders in winxp

lock folders widout softwares
Yes thats right. You can lock any folder without using any software. Follow these steps.
1.Suppose you have a folder named abcd in D:\abcd.

2.In the same drive next to the folder create a new notepad file with the exact statement
ren abcd abcd.{21EC2020-3AEA-1069-A2DD-08002B3030

9D}

3.Now save this text file as loc.bat

4.Create another notepad file and type
ren abcd.{21EC2020-3AEA-1069-A2DD-08002B30309D} abcd

5.Save this as key.bat

6.Now there are two batch files . Double click loc.bat and your folder will change into Control Panel and its contents cannot be viewed .

7.To open the folder double click key.bat and you get back your original folder .

8.For more safety keep the key.bat in another location .Only for unlocking copy paste to the original location and double click .


If you combine this with the hidden folder trick, it will be impossible for anyone else to access it .

Create A XP Boot Disk from System Files

As a hedge against being unable to start XP, you can create a boot disk specifically for Windows XP that may allow you to boot the operating system. This can occur when the active partition boot record or other required files become corrupted.
Using Windows XP, place a blank floppy in drive A and format the disk. Navigate to the root folder of the system (in most cases this will be C:\) and copy the following files to the floppy disk
Boot.ini
NTLDR
Ntdetect.com
If you can't see the files, click [Tools] and [Folder Options...] in the Menu Bar of Windows Explorer. Click the [View] tab and click the radio button next to [Show Hidden Files and Folders]. Remove the check mark next to [Hide Protected Operating System Files (Recommended)] then click [Apply] and [OK]. The files should now be visible in Windows Explorer. If the files still cannot be copied, right click each file, click [Properties] and remove the checkmark from the Read-Only attributes. Reset whatever attributes were unchecked after the copy procedure is completed
In addition to the files listed above, check the same directory for bootsect.dos and ntbootdd.sys files. If they are present on your system, copy them to the same floppy diskette
The disk is used as any other boot disk, inserting it into the floppy drive (A:\) and initiating a cold boot. Make sure the BIOS is set so that the A:\ drive is first in the boot sequence

Clean Prefetch Data

The prefetch directory can get full of junk and obsolete links which can slow down yourcomputer noticeably.
I would suggest that you do this once a month or so to improve thespeed.
Do not follow this on a daily basis as prefetching of most commonly used programs will speed up the execution of those programs.
To perform this trick go to:C(SystemDrive):/windows/prefetch, and delete everything and reboot

Remove shortcut arrow from desktop icons

Here's how you can remove those shortcut arrows from your desktop icons in Windows XP
1. Start regedit.
2. Navigate to HKEY_CLASSES_ROOTlnkfile
3. Delete the Is Shortcut registry value.You may need to restart Windows XP.

How to Rename the Recycle Bin

To change the name of the Recycle Bin desktop icon, open Regedit and go to:
HKEY_CLASSES_ROOT/CLSID/{645FF040-5081-101B-9F08-00AA002F954E}
and change the name "Recycle Bin" to whatever you want (don't type any quotes).

Remove the Recycle Bin from the Desktop

If you don't use the Recycle Bin to store deleted files , you can get rid of its desktop icon all together
Run Regedit and go to:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Desktop/NameSpaceClick on the "Recycle Bin" string in the right hand pane.
Hit Del, click OK.

To change drive letters

To change drive letters (useful if you have two drives and have partitioned the boot drive, but the secondary drive shows up as "D")Go to Start > Control Panel > Administrative Tools > Computer Management, Disk Management, then right-click the partition whose name you want to change(click in the white area just below the word "Volume") and select "change drive letter and paths."
From here you can add, remove or change drive letters and paths to the partition.

How To Enable Hibernation

Under Windows 98, Me, or 2000 there was an option in the shutdown dialog box to enter the computer into hibernation (where all the content of the RAM is copied to the hard disk).The shutdown dialog box of Windows XP doesn't offer any longer the hibernation button.Some users may get confused about how to enable the hibernation mode.If this mode is supported by your motherboard (ACPI) you have to do the following:
1.Click Start and Shut Down,
2.Point the standby button and maintain the shift key pushed,
3.A new hibernation button appears: click it while still holding the shift key:
Greate your PC will hibernate

Shutdown XP Faster

Start - Run - Regedit
Navigate to the following Registry key:
1)HKEY CURRENT USER\Control Panel\DesktopDouble click on the AutoEndTasks entry and replace the 0 with a 1 in the Value data text box

For the next two, if the dword value indicated does not exist, create it:

Double click on the WaitToKillAppTimeout entry in the right pane and change the Value data to 2000

Double click on the HungAppTimeout entry in the right pane and change the Value data to 1000
Reboot
If still having a problem, make the next change:
2) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ControlRight-click on WaitToKillServiceTimeout and change it to 2000

NOTE: The lowest value Windows will recognize is 1000 (1 second)

Right-click

Lets say you have a bout 4-5 very useful applications which you use always. By placing them all on the first level menu will eventually crowd your start menu. Now why not utilize the right-click option instead? The right-click option gives you the ability to Open, Explore and Find. If you can add a shortcut to your application to that menu, it would be great.

To do this, crank up your registry editor and go to ::
HKEY_CLASSES_ROOT\Directory\Shell.
Right-click on Shell and create a new key. Type in an appropriate name for the key. On the right pane, double-click on the Default value, and add a title with a & character in front of the letter as an accelerator key. Right-click on the key you just created and create another key under it called command . For the Default value of command, enter the full path and program you want to execute in the Value data box.

For example, if you wanted Notepad, you would add that as the first key, the default in the right panel would be &Notepad so when you right click on the Start Button, the N would be underlined and you could just press that key. The command would be something like C:\Windows\notepad.exe. Now when you right click on the Start Button, your new program will show up.

DVD - Enable DVD Player in Media Player

This setting allows you to use Microsoft Media Player to Play and Open DVDs
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.

Command Prompt - Quick edit mode

Setting this option allows a user to copy and paste text in the command prompt using mouse actions instead of an edit menu. This option makes the command prompt behave more like it did in Windows 2000.

1. Open the command prompt by either clicking Start, All Programs, Accessories, Command Prompt, or by clicking Start, Run then typing in "cmd" and pressing enter.
2. Click on the C:\ icon in the top left and select Defaults.
3. Place a check in Quick Edit Mode and click OK.

Now you can copy text by highlighting it with the left mouse button then clicking the right mouse button. To paste, click the right mouse button again

Fast Shutdown and/or Restart From Quick Launch Buttons

This tip will enable you to create buttons in your quick launch toolbar to quickly and easily shut down and/or restart your computer.


1.Right click on your desktop, scroll to new..... shortcut
2.In the location line, for shutdown type; shutdown -s -t 0 ie: shutdown(space)-s(space)-t(space)number zero
3.Name the shortcut "Shut Down PC" or whatever u want
4.The new shortcut is now sitting on your desktop, right click on it and go to properties, then click on "change icon". Click OK, then pick a suitable icon, there is a red "off button" icon available, then click apply and ok.
5.Now drag the icon from your desktop into the quick launch toolbar, resize the toolbar so all the buttons are visible, then delete the shortcut from your desktop

To create a restart button the location line should read shutdown -r -t 0 name it restart pc and give it a suitable icon for restart

Now you can shut down or restart your pc in 1 mouse click without having to go through the startup menu.

Easier Way of Right-Click to go to Command Prompt

Instead of going through the registry to add a context menu option for opening cmd.exe at any folder, just download the "CMD Line Here" Windows XP PowerToy...
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe

How to view a Startwars movie in DOS

goto start>run.......

type

telnet towel.blinkenlights.nl

hit enter..........

Wednesday, July 11, 2007

How to schedule an application to launch at a specified time, but only if the application is not already running?

INTRODUCTION:

With Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. There are situations where you don't want a program to launch, if an instance of the program is already running. See the question below:

I have scheduled Microsoft Outlook to run at these times:

  • Specified time such as 6 AM
  • Windows Startup

How do I arrange it so that if the program is already running, a second instance of the program will not start. For example if I log on at 5 AM and the program is started. At 6 AM I would not require it to start again since it is already running. How do I accomplish this task?


RESOLUTION:

This can very easily be accomplished using Windows Scripting. The following script checks if the application is already running or not, and acts accordingly. If Outlook.exe is not already running, then it's launched. Copy the following lines(RED) to Notepad, and save as "msolaunch.vbs" (with double-quotes) to the Desktop. You can then schedule this script to run at a specified time.


Set WshShell = WScript.CreateObject("WScript.Shell")

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _

& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colProcesses = objWMIService.ExecQuery _

("SELECT * FROM Win32_Process WHERE Name = 'outlook.exe'")

If colProcesses.Count = 0 Then

WshShell.Run chr(34) & _

"%Programfiles%\Microsoft Office\Office10\Outlook.exe" & Chr(34)

End If

The above code is tailored for Outlook 2002. If you have a different version of Outlook, then the application path varies. Make a note of the default location of Microsoft Outlook executable. Choose your version accordingly:

OL98 and OL2000
%Programfiles%\Microsoft Office\Office\outlook.exe

OL2002
%Programfiles%\Microsoft Office\Office10\Outlook.exe

OL2003
%Programfiles%\Microsoft Office\Office11\Outlook.exe