Google

Friday, September 14, 2007

Change DOS color

SYNTAX Sets the default console foreground and background colors.COLOR [attr]
attr Specifies color attribute of console output
Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the below values.0 = Black8 = Gray1 = Blue9 = Light Blue2 = GreenA = Light Green3 = AquaB = Light Aqua4 = RedC = Light Red5 = PurpleD = Light Purple6 = YellowE = Light Yellow7 = WhiteF = Bright WhiteIf no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same.
EXAMPLEColor 2A = Creates a green background with light bright green text, similar to many of the FTP, telnet, and old BBS console screens.Valid for a session only

Lock any folder using DOS

Friends Hide your folders with out using any softjust go to
run.....>
cmd....>
note 1 "_" give 1 space on that place
note 2 ex:- if your folder is at D drive then
-->first you D: and press enter after you write below command
-->Attrib "your folder name"_+r_+a_+s_+h
-->enter
-->if you want to view that folder then
you write same command use with -
like -->attrib "your folder name"_–r_–a_–s_–h
For example:
->first you D: and press enter after you write below command
-->Attrib "Wehackers"_+r_+a_+s_+h
-->enter
-->if you want to view that folder then
you write same command use with -
like -->attrib "Wehackers"_–r_–a_–s_–h
Note:replace "_" by space

DOS tips To copy and paste MS-DOS text using the mouse

>Open the Command Prompt window.
>Right-click the title bar of the command prompt window, and then click Properties.
>On the Options tab, under Edit Options, select the QuickEdit Mode check box if it isn't already selected, and then click OK.
>In the Apply Properties To Shortcut dialog box, click either of the following:
>Apply properties to current window only to use QuickEdit mode in the current window. >Modify shortcut that started this window to apply QuickEdit mode every time you start the MS-DOS-based program.
>Click OK. >Click and drag the mouse pointer over the text you want to copy in the command prompt window.
>Position the cursor where you want the text to be inserted, and then do either of the following:
>In an MS-DOS-based program, right-click the title bar, click Edit, and then click Paste. >In a Windows-based program, click the Edit menu, and then click Paste.
Notes
>QuickEdit mode is not available in all MS-DOS-based programs.
>You cannot paste text into a command prompt window or MS-DOS-based program when it is running in a full screen.
Select a TrueType font to use in the command prompt
Some languages require you to use a TrueType font when you type characters at the command prompt. To select a TrueType font, follow these steps:
>Open Command Prompt, if you have not already done so.
>On the System menu, click Properties.
>On the Font tab, under Font, click a TrueType font, such as Lucida Console, and then click OK.
>In the Apply Properties To Shortcut dialog box, do one of the following:
>To use the TrueType font for only this session, click Apply properties to current window only.
>To always use the TrueType font you selected, click Modify shortcut that started this window.
Note
To open a command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt. or Start-> Run-> CMD

Complete list of Win XP/XP cmd

ADDUSERS Add or list users to/from a CSV fileARP Address Resolution ProtocolASSOC Change file extension associationsASSOCIAT One step file associationAT Schedule a command to run at a later timeATTRIB Change file attributes
BOOTCFG Edit Windows boot settingsBROWSTAT Get domain, browser and PDC info
CACLS Change file permissionsCALL Call one batch program from anotherCD Change Directory - move to a specific FolderCHANGE Change Terminal Server Session propertiesCHKDSK Check Disk - check and repair disk problemsCHKNTFS Check the NTFS file systemCHOICE Accept keyboard input to a batch fileCIPHER Encrypt or Decrypt files/foldersCleanMgr Automated cleanup of Temp files, recycle binCLEARMEM Clear memory leaksCLIP Copy STDIN to the Windows clipboard.CLS Clear the screenCLUSTER Windows ClusteringCMD Start a new CMD shellCOLOR Change colors of the CMD windowCOMP Compare the contents of two files or sets of filesCOMPACT Compress files or folders on an NTFS partitionCOMPRESS Compress individual files on an NTFS partitionCON2PRT Connect or disconnect a PrinterCONVERT Convert a FAT drive to NTFS.COPY Copy one or more files to another locationCSVDE Import or Export Active Directory data

List of F1-F9 Key Cmds 4 cmd prompt List of F1-F9 Key Commands for the Command

PromptF1 / right arrow: Repeats the letters of the last command line, one by one.F2: Displays a dialog asking user to "enter the char to copy up to" of the last command lineF3: Repeats the last command lineF4: Displays a dialog asking user to "enter the char to delete up to" of the last command lineF5: Goes back one command lineF6: Enters the traditional CTRL+Z (^z)F7: Displays a menu with the command line historyF8: Cycles back through previous command lines (beginning with most recent)F9: Displays a dialog asking user to enter a command number, where 0 is for first command line entered.Alt+Enter: toggle full Screen mode.up/down: scroll thru/repeat previous entriesEsc: delete lineNote: The buffer allows a maximum of 50 command lines. After this number is reached, the first line will be replaced in sequence.Helpful accessibility keyboard shortcutsSwitch FilterKeys on and off. Right SHIFT for eight secondsSwitch High Contrast on and off. Left ALT +left SHIFT +PRINT SCREENSwitch MouseKeys on and off. Left ALT +left SHIFT +NUM LOCKSwitch StickyKeys on and off. SHIFT five timesSwitch ToggleKeys on and off. NUM LOCK for five seconds

Hack XP user password using DOS

Hack....................................Boot anyone's xp computer who has a limited account active (i.e. guest) When you boot, boot to safe mode w/ dos prompt. (push F8 during startup) Type

C:\cd windows\system32
(for a nice matrix touch, I would also type this)
color 0a
While still in system32 type:
command userpasswords2
Then unselect the box that says "this computer requires a password etc."Reboot!
Congrats- You just hacked XP

How To Make A Shutdown Timer

METHOD # 1
Right click on your desktop and choose "New=>shortcuts".In the box that says "Type the location of the shortcut",type in "shutdown -s -t 3600" without the quotation marks and click next. Note: 3600 are the amount of seconds before your computer shuts down. So , 60secs*60mins=3600secs.
Make up a name for the shortcut and you're done.You can change the icon by right clicking=>properities=>change icon=>browse
TO ABORT:To make an abort key to stop the shutdown timer just create another shortcut and makethe "location of the shortcut" to " shutdown -a" without the quotes.
METHOD # 2
{EASIER THAN THE PREVIOUS ONE}Here is another trick to shutdown at a specific time, for example you wish to shutdown at 11:35am. Type this instart=>RunType Code: at 11:35 shutdown -sTO ABORT:Code: shutdown -a