Monday 17 September 2012

Searching Files with Command Prompt

We all are familiar to searching files in our computer. (Just click on start->search->File and folders). It is all the GUI process for searching files. 

Here something new - It is searching files with command. Now here question in your mind that we already have good GUI option to search files then why we consider command for it. The answer is very simple - it is not for normal users to search file but it is for developers. If you design such program where you need searching at that time you can use it. 

Steps for setup - 

1. Open Notepad. 

2. Write this code (Do not change any sequence of this code) 
@ECHO OFF 
REM Find a file on this disk 
IF !%1==! GOTO ERROR 
ECHO Looking... 
DIR \%1 /S /B > _TOTAL_ 
ECHO Total Finds: 
FIND /C ":" _TOTAL_ 
IF ERRORLEVEL 1 GOTO NONE 
PAUSE 
MORE <>
:NONE
DEL _TOTAL_
GOTO END
:ERROR
ECHO Follow Search with the name of the file you want to find
:END
3. Save this file in C:\Windows\System32\Search.Bat

4. Set System Variable
-> Right click on My Computer
-> Go to Advanced->Environment Variables->System Variables
-> Click on New (Vari. Name - Search and Vari. Value - C:\Windows\System32\Search.Bat)

5. Open CMD and type search file_name

Note - It is also searching files with Wildcards 

Winternal ERD Commander

Many times we faced problem of crashed system. It is also very disappointing time because we have lots of important data on HDD of system and if system is not boot out properly we afraid to lost our important data. There are many reasons to crashed system like Virus, HDD Problem, OS problem (Kernels are not load properly) etc.

Now here one question what we do if your system is crashed? The first and important duty is to do backup of our important data and then we have option to format the system. But here problem is we cannot do backup because system is crashed.

To handle this kind of situation, we have very powerful tool - Winternal ERD Commander.

Winternal ERD Commander boots dead systems directly from CD into a Windows-like repair environment. You'll have full access to the dead system's volumes, so you can diagnose and repair problems using tools located on the ERD Commander 2005 Start menu. And you'll have built-in network access to safely move data off of, or on to, the dead system. With ERD Commander 2005 you can repair a system easily, saving you time and rescuing your critical data.

Key features:

* Boots dead systems directly from CD.
* Includes FileRestore so that you can quickly find and recover deleted files.
* Includes the Locksmith utility to reset lost Administrator passwords.
* Data recovery tools include Disk Commander and FileRestore.
* Allows for formatting and partitioning of disks.
* Compatible with Windows NT, 2000, XP, and Server 2003.

I personally like its LockSmith program which is very useful to hack password of all account in Operating System.

Virus Engineering

What exactly we think about Virus? The all -ve feeling. Virus is nothing but a program for destruction of our computer, files, memory etc. Here in this post, I am describing something about the Virus Engineering. It is the duty of the programmer but not for the destruction. Virus Engineering is the intellectual property, if you know Virus Engineering you can very well to manage your computer, files, memory etc.

Now its time to learn something about Virus Engineering - (Here I am represents some demo sequences to create one small Virus Program). Before to start the steps for create Virus, the overview of the Virus is necessary.

This virus program is occupied your Hard Drive partition space without any data. Here with this virus creation, you have full control to delete it. It is very simple an you can very easily to control it. I am describing the basic skeleton of this virus program, you can also embedded this step with high end programming tool like VB, Java etc.

Steps -

1. First we need to find the free space of whatever drive where this virus will active. For it, open Command Prompt and type - dir | FIND "free" (if I want to active virus in c:\ then open CMD and c:\dir | FIND "free"). With this command you can get the free space of c: drive.

Ex. - Free space of C: drive is 9056313344 bytes.

2. Now you have to calculate some bytes for creation of virus. The formula is very simple, I have 9056313344 bytes free space, then just reduce 50000 bytes from available free space.

Ex. - Virus_Memory = Available_Free - 50000 -> (9056313344 - 50000) = 9056263344 (Virus_Memory).

3. This is actual virus creation step. You have to write one command with your calculated Virus_Memory.

Ex. - fsutil file createnew c:\virus.txt 9056263344 -> then press enter.

4. Now check your space. In the third step you are actually create one text file which hold your entire free space without any data. To free this space from virus, just delete the file that you have created.

Note - These steps are actually the skeleton for virus program, you can also to do this step with high end programming and create virus with just one click of button as well as to hide the virus file with system mode.



Sunday 20 May 2012

My First Post - About Me

Hello Internet, 

I am Tejas Chanchad and this is my first post on blog. I am basically used blog for share information which mainly concern to the innovation, research, computer, mobile, management etc.


I am also involve in Research activities for Wireless/Mobile Application Development.


I am very appreciated to the Google for this tool to share information.


I hope that you are enjoy my posts and information.


Thanking You.