counter
Friday, May 7, 2010
Create a password protected folder without any special software
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== TYPE YOUR PASSWORD goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Just copy the above code and paste it into Notepad. Save it by locker.bat name.
Try it any drive
Important: The batch file acts like a key to open the locked folder. So once you have created and locked a folder, do not keep the batch file in the same location since anybody can open the batch file and view your password. So I would suggest that you keep the batch file in a separate and safe place or better still keep it on your pen drive or flash drive. That way when you want to open the folder just copy the batch file to the location where you have your protected folder and run it.
Wednesday, May 5, 2010
How To Install Windows 7/Vista From USB Drive
Requirements:
*USB Drive (Minimum 4GB)
*Windows 7 or Vista installation files.
Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Vista easily.
convert USB Drive to NTFS
Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
At the command prompt, type the following, where drive letter is the drive that you want to convert:
- convert drive letter: /fs:ntfsFor example, type the following command to convert drive E to NTFS:convert e: /fs:ntfs
D: CD BOOT and hit enter.Where “D” is your DVD drive letter.
CD BOOT and hit enter to see the below message.
Type another command given below to update the USB drive with BOOTMGR compatible code.
BOOTSECT.EXE /NT60 H:
Where “H” is your USB drive letter. Once you enter the above command you will see the below message.
Copy your Windows 7/Vista DVD contents to the USB flash drive.
Your USB drive is ready to boot and install Windows 7/Vista. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.
Thursday, April 22, 2010
Turbo C Environment
File – Loads and saves files, handles directories, invokes DOS, and exits Turbo C
Edit – Invokes the Turbo C editor
Run – Compiles, links and runs the program currently loaded in the environment
Compile – Compiles the program currently in the environment
Project – Manages multi-file project
Options – Sets various compiler, linker and environmental options
Debug – Set various debug options
Break/watch – Manages debugger watch expressions and break points
File Menu
Load – prompts you for a filename and then loads that file into editor
Pick – displays a menu that contains a list of the last eight files you have edited.
New – lets you edit a new file
Save – saves the file currently in the editor
Write To – lets you save the file in a different filename.
Directory – displays the current working directory and lets you choose a file to edit
Change Dir – changes the default directory to the one you specify.
OS shell – loads the DOS command processor and lets you execute DOS commands
Quit – quits Turbo C
Run Menu
Run – executes and compiles the current program
Program reset – terminates your program when it is being run in debug mode.
Go to cursor – executes your program until it reaches the line of code where the cursor is positioned.
Trace into – executes the next line or statement.
Step over – executes the next line of code, but it does not trace into subroutines that may be called.
Compile Menu
The first option allows you to compile the file currently in the editor to an .OBJ file, which is ready to be linked into an .EXE file which is an executable file.
The second option will compile your program directly into an executable file.
The third option lets you link your current program.
The Build All, recompiles all the files related to your program.
The Primary C file option lets you specify a filename that will be compiled when you select one of the earlier options, ignoring whatever file is currently being edited.
Get info – displays information about your program and the environment, including how much free memory is available and the length of the file.
Hot Keys
F1 - Online help
F2 - Saves the current file being edited
F3 - Loads a file
F5 - Zooms the window
F6 - Switches between the window
F7 - Trace
F8 - Step
F9 - Compiles and links your program
F10 - Toggles between the main menu and the editor
Alt-F1 – last help screen
Alt-F3 – allows you to pick a file to load
Alt-F5 – switches between environment screen and output screen
Alt-F7 – previous error
Alt-F8 – next error
Alt-F9 – compiles file to .OBJ
Alt-C – Compile menu
Alt-D – Debug menu
Alt-E – Edit menu
Alt-F – File Menu
Alt-O – Option Menu
Alt-P – Program Menu
Alt-R – Run Menu
Alt-X – Quits Turbo C
Ctrl-F1 – requests help about the item which contains in the cursor
Ctrl-F9 – Runs the program
Thursday, April 15, 2010
Microsoft Internet Explorer Shortcut Keys
This is a listing of Microsoft Internet Explorer shortcut keys. Some keys are only supported on the new versions of Microsoft Internet Explorer.
The shortcut keys below are very useful when you use on Microsoft Internet Explorer often, especially when you perform a web search on multiple internet explorer windows. A quick refresh might be necessary every once in a while, or opening a new window faster with a shortcut key.
Use this trick at your own risk.
Shortcut Description
F5 Refresh current page, frame, or tab.
F11 Display the current website in full screen mode. Pressing F11 again will exit this mode.
Backspace Back a page.
Alt + Left Arrow Back a page.
Alt + Right Arrow Forward a page.
Ctrl + I Display the saved favorites.
Ctrl + N Open New browser window.
Ctrl + P Print current page / frame.
Spacebar Moves down a page at a time.
Shift + Spacebar Moves up a page at a time.
Tab Moves from one link to another.
Shift + Tab Moves backward from one link to another.
Esc Stop page or download from loading.
Ctrl + (- or +) Increase or decrease the font size, pressing '-' will decrease and '+' will increase.
Ctrl + Enter Auto complete a url address. For example, type thecomputricks in the address bar and press CTRL + ENTER to get http://www.thecomputricks.com.
Ctrl + D Add the current page to favorite.
Alt + Down arrow Display all previous text entered in a text box.
The followings are some mouse shortcuts for Microsoft Internet Explorer
Shortcut Description
Ctrl + Wheel down Increase font size
Ctrl + Wheel down Decrease font size
Click then Shift+Click Click at one point of the page, then go to another point hold shift and click will create a selection from the two points
Double-click On a word, will select the word.
Triple-click Selects the entire line of text.
Wheel click With some wheel mouse, you can click on the wheel and move the mouse to scroll the page smoothly
Microsoft Excel Shortcut Keys
This is a listing of Microsoft Excel shortcut keys. Some keys are only supported on the new versions of Microsoft Excel.
The shortcut keys below are very useful when you work on Microsoft Excel documents often. Try to memorize some of these keys, whichever you feel you would use more often and practice yourself with those keys. You'll find a big help on your work. Just to make your life easier!
Use this trick at your own risk.
Shortcut Description
Ctrl + A Select all contents of the worksheet.
Ctrl + B Bold highlighted selection.
Ctrl + I Italic highlighted selection.
Ctrl + K Insert link.
Ctrl + U Underline highlighted selection.
Ctrl + P Bring up the print dialog box to begin printing.
Ctrl + Z Undo last action.
F2 Edit the selected cell.
F5 Goto a specific cell. For example, C6.
Shift + F5 Bring up search box.
F7 Spell check selected text and/or document.
F11 Create chart.
Shift + F3 Open the Excel formula window.
Ctrl + Shift + ; Enter the current time.
Ctrl + ; Enter the current date.
Alt + Shift + F1 Insert New Worksheet.
Ctrl + 5 Strikethrough highlighted selection.
Ctrl + F9 Minimize current window.
Ctrl + F10 Maximize currently selected window.
Ctrl + F6 Switch between open workbooks / windows.
Ctrl + Page up Move between Excel work sheets in the same Excel document.
Ctrl + Page down Move between Excel work sheets in the same Excel document.
Ctrl + Tab Move between Two or more open Excel files.
Alt + = Create a formula to sum all of the above cells
Ctrl + ' Insert the value of the above cell into cell currently selected.
Ctrl + Shift + ! Format number in comma format.
Ctrl + Shift + $ Format number in currency format.
Ctrl + Shift + # Format number in date format.
Ctrl + Shift + % Format number in percentage format.
Ctrl + Shift + ^ Format number in scientific format.
Ctrl + Shift + @ Format number in time format.
Ctrl + Arrow key Move to next section of text.
Ctrl + Space Select entire column.
Shift + Space Select entire row.
The followings are some mouse shortcuts for Microsoft Excel
Shortcut Description
Double-click Edit cell
Double-click Double-click on the column divider will resize the column width to fit content
Double-click Double-click on the row divider will resize the row height to fit content
Triple-click Selects the entire contents in the cell
Click and drag column divider Resize column width. This also works with multiple columns.
Click and drag row divider Resize column height. This also works with multiple rows.
Ctrl + Mouse wheel Zooms in and out of document.
Microsoft Word Shortcut Keys
The followings are shortcut keys and mouse shortcuts that can be used for Microsoft Word
Use at your own risk.
Mouse shortcuts
Shortcut Description
Double-click (on a word) Select the word.
Single-click (anywhere in a sentence) + Holding CTRL Select the entire sentence.
Triple-click (anywhere in a paragraph) Select the entire paragraph.
Click, hold, drag, then release Select text from the click position to release position.
Click first position, hold SHIFT key, then click 2nd position Select text from the 1st position to the 2nd position.
Hold ALT key, then click and drag Vertical select text.
Hold CTRL key, then scroll wheel Zoom in/out.
Keyboard shortcuts
Shortcut Description
Ctrl + A Select all (including text, graphics).
Ctrl + B Bold.
Ctrl + I Italic.
Ctrl + U Underline.
Ctrl + C Copy.
Ctrl + V Paste.
Ctrl + X Cut.
Ctrl + F Find.
Ctrl + Z Undo.
Ctrl + Y Redo.
Ctrl + P Open the print dialog.
Ctrl + K Insert link.
Ctrl + L Left align.
Ctrl + E Center align.
Ctrl + R Right align.
Ctrl + M Indent.
Ctrl + (left arrow) Moves one word to the left.
Ctrl + (right arrow) Moves one word to the right.
Ctrl + (up arrow) Moves cursor to the beginning of the paragraph.
Ctrl + (down arrow) Moves cursor to the end of the paragraph.
Ctrl + Shift + F Change font.
Ctrl + Shift + * View/hide non-printing characters.
Ctrl + Del Deletes word to the right of cursor.
Ctrl + Backspace Deletes word to the left of cursor.
Ctrl + End Moves cursor to the end of document.
Ctrl + Home Moves cursor to the beginning of document.
Ctrl + Spacebar Reset highlighted text to the default font.
Ctrl + 1 Single-space.
Ctrl + 2 Double-space.
Ctrl + 5 1.5-line.
Ctrl + Alt + 1 Format text: heading 1.
Ctrl + Alt + 2 Format text: heading 2.
Ctrl + Alt + 3 Format text: heading 3.
F1 Help.
F4 Repeat the last action
F5 Go to .
F7 Spelling and grammar.
F12 Save as.
F8 then (left arrow) Increase selection to the left by one character
F8 then (right arrow) Increase selection to the right by one character
Ctrl + F1 Task Pane.
Ctrl + F2 Print preview.
Alt + Ctrl + F2 New document.
Shift + F3 Cycle between capitalized formats
Ctrl + Insert Copy.
Shift + Insert Paste.
Shift + End Select from current position to the end of the line.
Shift + Home Select from current position to the beginning of the line.
Ctrl + Shift + (left arrow) Select from current position to the beginning of the word.
Ctrl + Shift + (right arrow) Select from current position to the end of the word.
Ctrl + Shift + (up arrow) Select from current position to the beginning of the document.
Ctrl + Shift + (down arrow) Select from current position to the end of the document.
Ctrl + Shift + Page Up Select from current position to the beginning of the window.
Ctrl + Shift + Page Down Select from current position to the end of the window.
Shift + Page Up One screen page up.
Shift + Page Down One screen page down.
Shift + F7 Thesaurus check selected text.
Shift + F12 Save.
Ctrl + Shift + F12 Print.
Alt + Shift + D Insert the current date.
Alt + Shift + T Insert the current time.
ROYAL PC WORLD

ROYAL PC WORLD
It is Best Computer Hardware & Networking Training Center Duration of this training is only 2 Month Online also available its Totally Practical Training First we start Hardware eg. Assembling Installing
Trouble Shooting Second we start Networking Peer to Peer, FTP, DNS, RIS, Ghost Cast, DHCP, WEB Proxy Server etc.
contact :- royalpcworld@gmail.com




