Sunday, June 7, 2009

HIDE SPECIFIC DRIVE

STEP : 1 OPEN REGEDIT.EXE
STEP : 2 FIND FOLLOWING KEY :

HKEY_LOCAL_MACHINE\MICROSOFT\WINDOWS\CURRENT VERSION\POLICIES\EXPLORER

STEP : 3 HERE YOU CREATE A NEW DWORD VALUE NAME
NoViewOnDrive
& SET IT VALUE BY BLOW LIST:

A- 1 ,
B- 2 , C - 4 , D -8 , E -16 , F - 32 , G -64 , H- 128 , I- 256 , J- 512 , K - 1024
L 2048 , M -4096 , N -8192 , O -16384 , P -32768 , Q -65536 , R -131072 , S -262144
T 24288 , U -1048576 , V -1048576 , W -2097152 , X -4194304 , Y 8388608
Z 67108863


leave comment.......................
vandan pathak.......................

LINUX INTRODUCTION & COMMANDS

mkdir - make directories

Usage

mkdir [OPTION] DIRECTORY

Options

Create the DIRECTORY(ies), if they do not already exist.

Mandatory arguments to long options are mandatory for short options too.

-m, mode=MODE set permission mode (as in chmod), not rwxrwxrwx - umask

-p, parents no error if existing, make parent directories as needed

-v, verbose print a message for each created directory

-help display this help and exit

-version output version information and exit


cd - change directories

Use cd to change directories. Type cd followed by the name of a directory to access that directory.Keep in mind that you are always in a directory and can navigate to directories hierarchically above or below.

mv- change the name of a directory

Type mv followed by the current name of a directory and the new name of the directory.

Ex: mv testdir newnamedir

pwd - print working directory

will show you the full path to the directory you are currently in. This is very handy to use, especially when performing some of the other commands on this page

rmdir - Remove an existing directory

rm -r

Removes directories and files within the directories recursively.

chown - change file owner and group

Usage

chown [OPTION] OWNER[:[GROUP]] FILE

chown [OPTION] :GROUP FILE

chown [OPTION] --reference=RFILE FILE

Options

Change the owner and/or group of each FILE to OWNER and/or GROUP. With --reference, change the owner and group of each FILE to those of RFILE.

-c, changes like verbose but report only when a change is made

-dereference affect the referent of each symbolic link, rather than the symbolic link itself

-h, no-dereference affect each symbolic link instead of any referenced file (useful only on systems that can change the ownership of a symlink)

-from=CURRENT_OWNER:CURRENT_GROUP

change the owner and/or group of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute.

-no-preserve-root do not treat `/' specially (the default)

-preserve-root fail to operate recursively on `/'

-f, -silent, -quiet suppress most error messages

-reference=RFILE use RFILE's owner and group rather than the specifying OWNER:GROUP values

-R, -recursive operate on files and directories recursively

-v, -verbose output a diagnostic for every file processed

The following options modify how a hierarchy is traversed when the -R option is also specified. If more than one is specified, only the final one takes effect.

-H if a command line argument is a symbolic link to a directory, traverse it

-L traverse every symbolic link to a directory encountered

-P do not traverse any symbolic links (default)

chmod - change file access permissions

Usage

chmod [-r] permissions filenames

r Change the permission on files that are in the subdirectories of the directory that you are currently in. permission Specifies the rights that are being granted. Below is the different rights that you can grant in an alpha numeric format.filenames File or directory that you are associating the rights with Permissions

u - User who owns the file.

g - Group that owns the file.

o - Other.

a - All.

r - Read the file.

w - Write or edit the file.

x - Execute or run the file as a program.

Numeric Permissions:

CHMOD can also to attributed by using Numeric Permissions:

400 read by owner

040 read by group

004 read by anybody (other)

200 write by owner

020 write by group

002 write by anybody

100 execute by owner

010 execute by group

001 execute by anybody

ls - Short listing of directory contents

-a list hidden files

-d list the name of the current directory

-F show directories with a trailing '/'

executable files with a trailing '*'

-g show group ownership of file in long listing

-i print the inode number of each file

-l long listing giving details about files and directories

-R list all subdirectories encountered

-t sort by time modified instead of name

cp - Copy files

cp myfile yourfile

Copy the files "myfile" to the file "yourfile" in the current working directory. This command will create the file "yourfile" if it doesn't exist. It will normally overwrite it without warning if it exists.

cp -i myfile yourfile

With the "-i" option, if the file "yourfile" exists, you will be prompted before it is overwritten.

cp -i /data/myfile

Copy the file "/data/myfile" to the current working directory and name it "myfile". Prompt before overwriting the file.

cp -dpr srcdir destdir

Copy all files from the directory "srcdir" to the directory "destdir" preserving links (-poption), file attributes (-p option), and copy recursively (-r option). With these options, a directory and all it contents can be copied to another dir

ln - Creates a symbolic link to a file.

ln -s test symlink

Creates a symbolic link named symlink that points to the file test Typing "ls -i test symlink" will show the two files are different with different inodes. Typing "ls -l test symlink" will show that symlink points to the file test.

locate - A fast database driven file locator.

slocate -u

This command builds the slocate database. It will take several minutes to complete this command.This command must be used before searching for files, however cron runs this command periodically on most systems.locate whereis Lists all files whose names contain the string "whereis". directory.

more - Allows file contents or piped output to be sent to the screen one page at a time

less - Opposite of the more command

cat - Sends file contents to standard output. This is a way to list the contents of short files to the screen. It works well with piping.

whereis - Report all known instances of a command

wc - Print byte, word, and line counts

bg

bg jobs Places the current job (or, by using the alternative form, the specified jobs) in the background, suspending its execution so that a new user prompt appears immediately. Use the jobs command to discover the identities of background jobs.

cal month year - Prints a calendar for the specified month of the specified year.

cat files - Prints the contents of the specified files.

clear - Clears the terminal screen.

cmp file1 file2 - Compares two files, reporting all discrepancies. Similar to the diff command, though the output format differs.

diff file1 file2 - Compares two files, reporting all discrepancies. Similar to the cmp command, though the output format differs.

dmesg - Prints the messages resulting from the most recent system boot.

fg

fg jobs - Brings the current job (or the specified jobs) to the foreground.

file files - Determines and prints a description of the type of each specified file.

find path -name pattern -print

Searches the specified path for files with names matching the specified pattern (usually enclosed in single quotes) and prints their names. The find command has many other arguments and functions; see the online documentation.

finger users - Prints descriptions of the specified users.

free - Displays the amount of used and free system memory.

ftp hostname

Opens an FTP connection to the specified host, allowing files to be transferred. The FTP program provides subcommands for accomplishing file transfers; see the online documentation.

head files - Prints the first several lines of each specified file.

ispell files - Checks the spelling of the contents of the specified files.

kill process_ids

kill - signal process_ids

kill -l

Kills the specified processes, sends the specified processes the specified signal (given as a number or name), or prints a list of available signals.

killall program

killall - signal program

Kills all processes that are instances of the specified program or sends the specified signal to all processes that are instances of the specified program.

mail - Launches a simple mail client that permits sending and receiving email messages.

man title

man section title - Prints the specified man page.

ping host - Sends an echo request via TCP/IP to the specified host. A response confirms that the host is operational.

reboot - Reboots the system (requires root privileges).

shutdown minutes

shutdown -r minutes

Shuts down the system after the specified number of minutes elapses (requires root privileges). The -r option causes the system to be rebooted once it has shut down.

sleep time - Causes the command interpreter to pause for the specified number of seconds.

sort files - Sorts the specified files. The command has many useful arguments; see the online documentation.

split file - Splits a file into several smaller files. The command has many arguments; see the online documentation

sync - Completes all pending input/output operations (requires root privileges).

telnet host - Opens a login session on the specified host.

top - Prints a display of system processes that's continually updated until the user presses the q key.

traceroute host - Uses echo requests to determine and print a network path to the host.

uptime - Prints the system uptime.

w - Prints the current system users.

wall - Prints a message to each user except those who've disabled message reception. Type Ctrl-D to end the message.

ALL DOS COMMANDS

There are some hidden dos commands
which u can't recognise by typing help in cmd

Here they are with description

COMMANDS:--

ANSI.SYS
Defines functions that change display graphics, control cursor movement, and reassign keys.

APPEND
Causes MS-DOS to look in other directories when editing a file or running a command.

ARP
Displays, adds, and removes arp information from network devices.

ASSIGN
Assign a drive letter to an alternate letter.

ASSOC
View the file associations.

AT
Schedule a time to execute commands or programs.

ATMADM
Lists connections and addresses seen by Windows ATM call manager.

ATTRIB
Display and change file attributes.

BATCH
Recovery console command that executes a series of commands in a file.

BOOTCFG
Recovery console command that allows a user to view, modify, and rebuild the boot.ini

BREAK
Enable / disable CTRL + C feature.

CACLS
View and modify file ACL's.

CALL
Calls a batch file from another batch file.

CD
Changes directories.

CHCP
Supplement the International keyboard and character set information.

CHDIR
Changes directories.

CHKDSK
Check the hard disk drive running FAT for errors.

CHKNTFS
Check the hard disk drive running NTFS for errors.

CHOICE
Specify a listing of multiple options within a batch file.

CLS
Clears the screen.

CMD
Opens the command interpreter.

COLOR
Easily change the foreground and background color of the MS-DOS window.

COMMAND
Opens the command interpreter.

COMP
Compares files.

COMPACT
Compresses and uncompress files.

CONTROL
Open Control Panel icons from the MS-DOS prompt.

CONVERT
Convert FAT to NTFS.

COPY
Copy one or more files to an alternate location.

CTTY
Change the computers input/output devices.

DATE
View or change the systems date.

DEBUG
Debug utility to create assembly programs to modify hardware settings.

DEFRAG
Re-arrange the hard disk drive to help with loading programs.

DEL
Deletes one or more files.

DELETE
Recovery console command that deletes a file.

DELTREE
Deletes one or more files and/or directories.

DIR
List the contents of one or more directory.

DISABLE
Recovery console command that disables Windows system services or drivers.

DISKCOMP
Compare a disk with another disk.

DISKCOPY
Copy the contents of one disk and place them on another disk.

DOSKEY
Command to view and execute commands that have been run in the past.

DOSSHELL
A GUI to help with early MS-DOS users.

DRIVPARM
Enables overwrite of original device drivers.

ECHO
Displays messages and enables and disables echo.

EDIT
View and edit files.

EDLIN
View and edit files.

EMM386
Load extended Memory Manager.

ENABLE
Recovery console command to enable a disable service or driver.

ENDLOCAL
Stops the localization of the environment changes enabled by the setlocal command.

ERASE
Erase files from computer.

EXIT
Exit from the command interpreter.

EXPAND
Expand a Microsoft Windows file back to it's original format.

EXTRACT
Extract files from the Microsoft Windows cabinets.

FASTHELP
Displays a listing of MS-DOS commands and information about them.

FC
Compare files.

FDISK
Utility used to create partitions on the hard disk drive.

FIND
Search for text within a file.

FINDSTR
Searches for a string of text within a file.

FIXBOOT
Writes a new boot sector.

FIXMBR
Writes a new boot record to a disk drive.

FOR
Boolean used in batch files.

FORMAT
Command to erase and prepare a disk drive.

FTP
Command to connect and operate on a FTP server.

FTYPE
Displays or modifies file types used in file extension associations.

GOTO
Moves a batch file to a specific label or location.

GRAFTABL
Show extended characters in graphics mode.

HELP
Display a listing of commands and brief explanation.

IF
Allows for batch files to perform conditional processing.

IFSHLP.SYS
32-bit file manager.

IPCONFIG
Network command to view network adapter settings and assigned values.

KEYB
Change layout of keyboard.

LABEL
Change the label of a disk drive.

LH
Load a device driver in to high memory.

LISTSVC
Recovery console command that displays the services and drivers.

LOADFIX
Load a program above the first 64k.

LOADHIGH
Load a device driver in to high memory.

LOCK
Lock the hard disk drive.

LOGON
Recovery console command to list installations and enable administrator login.

MAP
Displays the device name of a drive.

MD
Command to create a new directory.

MEM
Display memory on system.

MKDIR
Command to create a new directory.

MODE
Modify the port or display settings.

MORE
Display one page at a time.

MOVE
Move one or more files from one directory to another directory.

MSAV
Early Microsoft Virus scanner.

MSD
Diagnostics utility.

MSCDEX
Utility used to load and provide access to the CD-ROM.

NBTSTAT
Displays protocol statistics and current TCP/IP connections using NBT

NET
Update, fix, or view the network or network settings

NETSH
Configure dynamic and static network information from MS-DOS.

NETSTAT
Display the TCP/IP network protocol statistics and information.

NLSFUNC
Load country specific information.

NSLOOKUP
Look up an IP address of a domain or host on a network.

PATH
View and modify the computers path location.

PATHPING
View and locate locations of network latency.

PAUSE
Command used in batch files to stop the processing of a command.

PING
Test / send information to another network computer or network device.

POPD
Changes to the directory or network path stored by the pushd command.

POWER
Conserve power with computer portables.

PRINT
Prints data to a printer port.

PROMPT
View and change the MS-DOS prompt.

PUSHD
Stores a directory or network path in memory so it can be returned to at any time.

QBASIC
Open the QBasic.

RD
Removes an empty directory.

REN
Renames a file or directory.

RENAME
Renames a file or directory.

RMDIR
Removes an empty directory.

ROUTE
View and configure windows network route tables.

RUNAS
Enables a user to execute a program on another computer.

SCANDISK
Run the scandisk utility.

SCANREG
Scan registry and recover registry from errors.

SET
Change one variable or string to another.

SETLOCAL
Enables local environments to be changed without affecting anything else.

SETVER
Change MS-DOS version to trick older MS-DOS programs.

SHARE
Installs support for file sharing and locking capabilities.

SHIFT
Changes the position of replaceable parameters in a batch program.

SHUTDOWN
Shutdown the computer from the MS-DOS prompt.

SMARTDRV
Create a disk cache in conventional memory or extended memory.

SORT
Sorts the input and displays the output to the screen.

START
Start a separate window in Windows from the MS-DOS prompt.

SUBST
Substitute a folder on your computer for another drive letter.

SWITCHES
Remove add functions from MS-DOS.

SYS
Transfer system files to disk drive.

TELNET
Telnet to another computer / device from the prompt.

TIME
View or modify the system time.

TITLE
Change the title of their MS-DOS window.

TRACERT
Visually view a network packets route across a network.

TREE
View a visual tree of the hard disk drive.

TYPE
Display the contents of a file.

UNDELETE
Undelete a file that has been deleted.

UNFORMAT
Unformat a hard disk drive.

UNLOCK
Unlock a disk drive.

VER
Display the version information.

VERIFY
Enables or disables the feature to determine if files have been written properly.

VOL
Displays the volume information about the designated drive.

XCOPY
Copy multiple files, directories, and/or drives from one location to another.



leave comment..................
vandan pathak..................

SCRIPT FOR MOVING IMAGES ON GOOGLE

STEP 1 : OPEN GOOGLE.COM
STEP 2 : CLICK ON IMAGES TAB
STEP 3 : SEARCH ANY IMAGES
STEP 4 : TYPE FOLLOWINIG CODE IN ADDRESSBAR

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++ }setInterval('A()',5); void(0);

STEP 5 : HIT ENTER


leave comment..................
vandan pathak.................