Showing posts with label command. Show all posts
Showing posts with label command. Show all posts

Thursday, January 14, 2010

[TRK] Image in the background of your pendrive

Step:1 Copy this code into notepad (copy and paste), then save it as "desktop.ini"

Code:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=127
ConfirmFileOp=0

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image="your_picture.jpg"
IconArea_Text="0xFFFFFF"
VeBRA sources - don't delete the tag above, it's there for XXXXX purposes -
[ExtShellFolderViews]
{BE098140-A513-11D0-A3A4-00C04FD706EC}={BE098140-A513-11D0-A3A4-00C04FD706EC}
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}

[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=Folder.htt
PersistMonikerPreview=%WebDir%\folder.bmp

Step:2 Put "desktop.ini" file onto your flash drive and replace "your_picture" with the
name of the picture you want to use, leaving the .jpg extention the same.

Step:3 Now copy the picture that you want to use onto your flash drive.

Step:4 Now Refresh (F5) ..and enjoy with new background...


Note: See that the image resolution is not more than that of your screen. Also you can make both files hidden so it looks bit clean.

Sunday, January 10, 2010

[TIP] Terminate full-screen games and appls when they stop responding

Actually it is pretty simple and doesn’t require any advance level of computer knowledge.
First you need to know what is the process name used by the game. Let’s take Counter Strike 1.6 as an example. You can check the process name for the game by right clicking the Counter-Strike 1.6 shortcut and select Properties.
Go to the Shortcut tab to view the Target. As you can see, Counter Strike 1.6 process is actually hl.exe.

Now you need to create a batch file that will kill the hl.exe process when you simultaneously hit a combination of shortcut keys. Open notepad, and type the command line shown below.
taskkill /IM hl.exe
Save the text file as anything.bat and not .txt
When you run the anything.bat file, it should be able to close the game.


Now we will assign a shortcut key to run the batch file.
Right click the anything.bat file and select “Create Shortcut”. A new file named “Shortcut to anything.bat” will appear. Right click at “Shortcut to anything.bat” file and select Properties. Click at the Shortcut Key blank area and type any key of your choice. 
If you type the letter “K”, it will automatically assign Ctrl + Alt + K as the shortcut key to run the killcss.bat file.
One very more important rule is that the shortcut must be placed at desktop for it to take effect.
When the game hangs in future, I just need to hit Ctrl + Alt + K key to kill the game so you can restart the game without having to restart your computer.

Thursday, January 7, 2010

[TRK] Convert partition from FAT to NTFS

In Windows XP, click Start, click Run, type cmd and then click OK. At the command prompt, type 
CONVERT [driveletter]: /FS:NTFS. 

Convert.exe will attempt to convert the partition to NTFS.
Note: Although the chance of corruption or data loss during the conversion from FAT to NTFS is minimal, it is best to perform a full backup of the data on the drive that it is to be converted prior to executing the convert command.

Sunday, January 3, 2010

[TIP] Save HDD space, improve computer's efficiency

Do it yourself without using any 3rd party software.......
It will not only save your harddisk space but also increase the efficiency of the computer.........

Create a file named filename.bat on any of your partition and write the following code in that file and then save. After saving run and enjoy the increased efficiency of your PC.
Note: Add/remove the name of partition as per your partitions number/name like d: or E: or F: etc.
---------------------
cd\
del/s *.tmp, *.bak
cd C:\Documents and Settings\Administrator\Local Settings\Temp
del *.*
cd C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
del *.*
cd c:\windows\temp
del *.*
d:
del/s *.tmp, *.bak
e:
del/s *.tmp, *.bak
----------------------

Also if you wish you can add this filename.bat file to the startup of the computer/windows........

Sunday, October 11, 2009

[TRK] Notepad tricks, secrets revealed

You might be using Notepad since long but there are few tricks which are still unknown to you.

There few tricks which you can use in notepad. Well quite old but here is the complete collection
Step 1: Open Notepad
Step 2: Write following line in the notepad.
this app can break
Step 3: Save this file as anything.txt
Step 4: Close the notepad.
Step 5: Open the file again.
Voilla!!
or

1> Open Notepad
2> Enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters, and the last word has five letters
3> DON'T hit enter at the end of the line.
4> Save the file.
5> Close Notepad.
6> Reopen Notepad.
7> Open the file you just saved.
or
 

1> Open a note pad
2> Type Bush hid the facts
3> Save that file,
4> Close it
5> Again open and see...

WORLD TRADE CENTER TRICK
Did you know that the flight number of the plane that had hit WTC ...on 9/11 was Q33N ....Open your Notepad in ur computer and type the flight number i.e Q33N... Increase the Font Size to 72, Change the Font to Wingdings. U will be amazed by the findings.


WHY?
The reason this happens:
In notepad, any other 4-3-3-5 letter word combo will have the same results. It is all to do with a limitation in Windows. Text files containing Unicode UTF-16-encoded Unicode are supposed to start with a "Byte-Order Mark" (BOM), which is a two-byte flag that tells a reader how the following UTF-16 data is encoded.

1) You are saving to 8-bit Extended ASCII (Look at the Save As / Encoding format)
2) You are reading from 16-bit UNICODE (You guessed it, look at the Save As / Encoding format)
This is why the 18 8-bit characters are being displayed as 9 (obviously not supported by your codepage) 16-bit UNICODE characters


LOG TRICK !!! Make your notepad a diary !!
Sometimes we want to insert current data and time, whenever we open the file in the notepad. If you are a lazy person like me, who don’t like to press F5 whenever you open a notepad. Then here is a trick to avoid this. Just add a .LOG in the first line of your text file and close it. Whenever you open the file with that text in the first line in the notepad, it will insert the current date and time at the end of the file. You can start entering your text after that.

Sunday, October 4, 2009

[TIP] Installing Windows XP OS in 10-12 mins

I found that we can bypass the 40 minutes of time while we are installing Windows XP.
Hope you will like it...

We all know that after loading the file or copying the file from the boot disk to temporary space the system requires a first time reboot.
Now if we PRESS SHIFT+F10 then the task manager will open
Goto the processes tab and search the process "setup.exe"
Right click on it, set priority, and set it to "Realtime"
 
We are done!!!
Find ur XP getting installed in 10min with tolerance 2 min.

Monday, September 28, 2009

[TRK] Chattin Through Command Prompt

If u want personal chat vid a friend
you don't need to download any yahoo messenger
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:27.196.391.193
Message: Hi
Now all you need to do is press "Enter" n start chatting...

[TIP] How to remove Virus from USB Drives,manually

One of the ways by which a virus can infect your PC is through USB/Pen drives. Common viruses such as 'Ravmon' , 'New Folder.exe', 'Orkut is banned' etc are spreading through USB drives. Most anti virus programs are unable to detect them and even if they do, in most cases they are unable to delete the file, only quarantine it. Here are the things which you can do if you want to remove such viruses from your USB drives

Whenever you plug a USB drive in your system, a window will appear similar to the one shown here.

Take a look at this screenshot:

Don’t click on Ok , just choose ‘Cancel’. Open the Command Prompt by typing ‘cmd‘ in the run box. In the command prompt type the drive letter and : and press enter.
eg  I:
Now type
dir /w/o/a/p
and press enter.

This will display a list of the files in the pen drive. Check whether the following files are there or not

* Autorun.inf
* Ravmon.exe
* New Folder.exe
* svchost.exe
* Heap41a
* or any other exe file which may be suspicious.

If any of the above files are there, then probably the USB drive is infected. In command prompt type
attrib -r -a -s -h *.*
that is     attrib[space]-r[space]-a[space]-s[space]-h[space]*.*
and press enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files. Now just delete the files using the command
del filename
eg del Ravmon.exe
Delete all the files that are suspicious. To be on a safer side, just scan the USB drive with an anti virus(if you have one) program to check whether it is free of virus or not. Now remove the drive and plug it again. In most of the cases, the real culprit turns out to be the “Autorun.inf” file which mostly gets executed when someone clicks Ok in the dialog window which appears above.