Showing posts with label Tweaking. Show all posts
Showing posts with label Tweaking. Show all posts

Saturday, May 22, 2010

Java : Adding 'Compile Program' Option to Context Menu for Java Files

Java programmers & students always find it a tedious process to open command prompt,set path & then compile the program.Here's how to get a compile program option in Context Menu so that we can compile from right click & know the errors in the program.
* Start Notepad & type the following (Note:Replace "c:\program files\java\jdk1.6.0\bin" with your path of JDK).
   @echo off
 path=%PATH%;C:\Program files\Java\jdk1.6.0\bin
 javac "%1"
 pause

* Save this file as "compile.bat" & copy this file in c:\windows.
* Open registry editor : Press Winkey + R(Run) & type "regedit.exe".
* Goto "HKEY_CLASSES_ROOT\java_auto_file\shell"
* Right Click on "shell" key & choose New - Key.

* Type Key name "compile".
* In right side pane double click on Default & type "Compile Program" & click OK. 

* Now right click on "compile" key  & click New - Key.

* Type key name as : "command" (without quotes).
* Click On command & in right side pane double click on Default & type : C:\Windows\compile.bat "%1"

* U get the Compile Program option for java files.

* Restart UR Pc
* Have fun..........

Shortcut to Do this :
 For some reason if you are unable to do the above process.Perform steps 1 & 2 & then download this zip  file & double click on reg file in it to add keys to registry for u.

Thursday, May 20, 2010

Windows 7 : Adding MyComputer shortcut to windows 7 taskbar/superbar

In Windows 7 we have an explorer shortcut in  the superbar which opens up in "Libraries".We always want have a shortcut in Superbar which would Open up in "My Computer".
Here is how to do so :
* First step is to delete that bad Libraries shortcut.
* Right Click On libraries shortcut & choose "Unpin this Program from taskbar".
* Now Right Click On desktop & choose New - Shortcut .
* In shortcut location type "C:\Windows\explorer.exe shell:MyComputerFolder".

* Click Next & Type shortcut name as "Computer".
* A shortcut to My computer comes on Your Desktop.
* Now Right Click this icon on desktop and choose "Properties".
* Click On Change Icon .
* To get My Computer Icon browse to file : "c:\windows\system32\imageres.dll".
* After Choosing My Computer Icon Click OK - Apply - OK.
* Now Right Click On This Icon & Choose Pin To Taskbar .
* U get My Computer in taskbar.
Have Funnnnnnnnnn.............................

Sunday, May 16, 2010

Registry Trick : Adding 'Edit With Notepad' for every file in Right-Click Menu

Usually we open an unknown file type with "Notepad" so it would be nice to add "Edit with Notepad" option in right click menu of every file type.
Here we go :
* Open Run Dialog (Press Window Key + R).
* Type regedit & press enter










* The Registry Editor Opens Up.
* In Registry Editor goto "HKEY_CLASSES_ROOT\*\shell" .
* In right side pane right Click : New - Key.
* Type : 'Edit With Notepad' (without quotes) as key name .
* Now Click On 'Edit with Notepad' key and in right hand pane right click : New - String Value.

* Type Value Name : Icon
* Now Double Click 'Icon' string value and type : "notepad.exe,0" as value data.

* Right Click On 'Edit With Notepad' Key .
* Choose New - key.
* Type Key Name -  command.
* In right side pane of command key double click 'Default' and type : notepad.exe "%1" (With Quotes).
* Click OK.
* Close Regedit.
* Now Right Click Any file & u have edit with notepad option for it.
Have Fun...
For simpler option download the registry file to do all this for you....
Download here

Windows 7 : Disable Aero Peek In Windows 7

Aero peek : A feature in Windows 7 which makes all open windows transparent when mouse is hovered over the little rectangle in bottom right.
Here is how to disable Aero Peek :
* Open Run Dialog (Press Winkey + R).
*Type Regedit
*Move To : HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

*In Right Side Pane Double Click on "Enable Aero Peek" as in above image.
*Type Value As 0.

*Aero Peek Is Disabled.
Have Funn....

OR

Download the registry file to do this for u

Registry Trick : Adding 'Control Panel' Option to 'My Computer'

Registry Trick : Adding 'Control Panel' Option to 'My Computer'
It is always handy to have an assortment of shortcuts as 'Control Panel' in My Computer.Here is how to do so :-
*Press WinKey + R (Opens Run Dialog)









*Type "regedit" (without quotes)
*The Registry Editor Opens Up.

*Goto "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace" .
*In right hand empty space : Right Click and choose New - Key.

*Type Name as : "{21EC2020-3AEA-1069-A2DD-08002B30309D}" (without quotes)

*Close Regedit.
*You get Control Panel in my computer.

 Have Funnnn.............

Or

Download reg file to do this.

Wednesday, May 12, 2010

Tweaking : FContext Tweaker 2.0 released by me on 'Softpedia'

Its Handy to have some import shortcuts in the Context Menu i.e Right Click Menu . The latest version of FContext Tweaker has been loaded with many features .

Some of them being :
* FContext Tweaker v2.0 allows Vista/Win 7 users to add items to Context Menus.
* FContext Tweaker v2.0 allows you to add items to Desktop Context Menu.
* FContext Tweaker v2.0 allows you to add items to Directory Background Context Menu.
* FContext Tweaker v2.0 allows you to add items to My Computer Context Menu.
* FContext Tweaker v2.0 allows you to  add Custom Programs.
* FContext Tweaker v2.0 allows you to add Custom Links.
* FContext Tweaker v2.0 allows you to add Custom Files opened by specified Program.
* FContext Tweaker v2.0 allows you to add  Predefined Windows Items.
* FContext Tweaker v2.0 allows you to add Cascading (Drop Down) Menus in Context Menu.
* FContext Tweaker v2.0 allows you to delete current items.

Release Notes v 2.0 :
*Added Ability to add items to Desktop context Menu Only.
*Added Ability to add items to My Computer Context Menu.
*Added Ability to add some predefined items.
*Added Ability to add cascading menus.
*Changed UI.
Have Fun Editing Context Menu........
Download here

Sunday, May 9, 2010

Resource Hacker : A brief Intro

The best software I ever came through . Here is an 'Intro' about that and a download Link .


What is Resource HackerTM ?
Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.

Viewing Resources: Cursor, Icon, Bitmap, GIF, AVI, and JPG resource images can be viewed. WAV and MIDI audio resources can be played. Menus, Dialogs, MessageTables, StringTables, Accelerators, Delphi Forms, and VersionInfo resources can be viewed as decompiled resource scripts. Menus and Dialogs can also be viewed as they would appear in a running application.

Saving Resources: Resources can be saved as image files (*.ico, *.bmp etc), as script files (*.rc), as binary resource files (*.res), or as untyped binary files (*.bin).

Modifying Resources: Resources can be modified by replacing the resource with a resource located in another file (*.ico, *.bmp, *.res etc) or by using the internal resource script compiler (for menus, dialogs etc). Dialog controls can also be visually moved and/or resized by clicking and dragging the respective dialog controls prior to recompiling with the internal compiler.

Adding Resources: Resources can be added to an application by copying them from external resource files (*.res).

Deleting Resources: Most compilers add resources into applications which are never used by the application. Removing unused resources can reduce an application's size.

The latest version is 3.5.2 beta which can be downloaded from Here..

Saturday, May 8, 2010

Command Prompt : All Command Prompt Commands

Command Prompt is best tool in windows.
Here are some of its commands .

ASSOC          Displays or modifies file extension associations.
ATTRIB         Displays or changes file attributes.
BREAK          Sets or clears extended CTRL+C checking.
BCDEDIT        Sets properties in boot database to control boot loading.
CACLS          Displays or modifies access control lists (ACLs) of files.
CALL           Calls one batch program from another.
CD             Displays the name of or changes the current directory.
CHCP           Displays or sets the active code page number.
CHDIR          Displays the name of or changes the current directory.
CHKDSK         Checks a disk and displays a status report.
CHKNTFS        Displays or modifies the checking of disk at boot time.
CLS            Clears the screen.
CMD            Starts a new instance of the Windows command interpreter.
COLOR          Sets the default console foreground and background colors.
COMP           Compares the contents of two files or sets of files.
COMPACT        Displays or alters the compression of files on NTFS partitions.
CONVERT        Converts FAT volumes to NTFS.  You cannot convert the
               current drive.
COPY           Copies one or more files to another location.
DATE           Displays or sets the date.
DEL            Deletes one or more files.
DIR            Displays a list of files and subdirectories in a directory.
DISKCOMP       Compares the contents of two floppy disks.
DISKCOPY       Copies the contents of one floppy disk to another.
DISKPART       Displays or configures Disk Partition properties.
DOSKEY         Edits command lines, recalls Windows commands, and
               creates macros.
DRIVERQUERY    Displays current device driver status and properties.
ECHO           Displays messages, or turns command echoing on or off.
ENDLOCAL       Ends localization of environment changes in a batch file.
ERASE          Deletes one or more files.
EXIT           Quits the CMD.EXE program (command interpreter).
FC             Compares two files or sets of files, and displays the
               differences between them.
FIND           Searches for a text string in a file or files.
FINDSTR        Searches for strings in files.
FOR            Runs a specified command for each file in a set of files.
FORMAT         Formats a disk for use with Windows.
FSUTIL         Displays or configures the file system properties.
FTYPE          Displays or modifies file types used in file extension
               associations.
GOTO           Directs the Windows command interpreter to a labeled line in
               a batch program.
GPRESULT       Displays Group Policy information for machine or user.
GRAFTABL       Enables Windows to display an extended character set in
               graphics mode.
HELP           Provides Help information for Windows commands.
ICACLS         Display, modify, backup, or restore ACLs for files and
               directories.
IF             Performs conditional processing in batch programs.
LABEL          Creates, changes, or deletes the volume label of a disk.
MD             Creates a directory.
MKDIR          Creates a directory.
MKLINK         Creates Symbolic Links and Hard Links
MODE           Configures a system device.
MORE           Displays output one screen at a time.
MOVE           Moves one or more files from one directory to another
               directory.
OPENFILES      Displays files opened by remote users for a file share.
PATH           Displays or sets a search path for executable files.
PAUSE          Suspends processing of a batch file and displays a message.
POPD           Restores the previous value of the current directory saved by
               PUSHD.
PRINT          Prints a text file.
PROMPT         Changes the Windows command prompt.
PUSHD          Saves the current directory then changes it.
RD             Removes a directory.
RECOVER        Recovers readable information from a bad or defective disk.
REM            Records comments (remarks) in batch files or CONFIG.SYS.
REN            Renames a file or files.
RENAME         Renames a file or files.
REPLACE        Replaces files.
RMDIR          Removes a directory.
ROBOCOPY       Advanced utility to copy files and directory trees
SET            Displays, sets, or removes Windows environment variables.
SETLOCAL       Begins localization of environment changes in a batch file.
SC             Displays or configures services (background processes).
SCHTASKS       Schedules commands and programs to run on a computer.
SHIFT          Shifts the position of replaceable parameters in batch files.
SHUTDOWN       Allows proper local or remote shutdown of machine.
SORT           Sorts input.
START          Starts a separate window to run a specified program or command.
SUBST          Associates a path with a drive letter.
SYSTEMINFO     Displays machine specific properties and configuration.
TASKLIST       Displays all currently running tasks including services.
TASKKILL       Kill or stop a running process or application.
TIME           Displays or sets the system time.
TITLE          Sets the window title for a CMD.EXE session.
TREE           Graphically displays the directory structure of a drive or
               path.
TYPE           Displays the contents of a text file.
VER            Displays the Windows version.
VERIFY         Tells Windows whether to verify that your files are written
               correctly to a disk.
VOL            Displays a disk volume label and serial number.
XCOPY          Copies files and directory trees.
WMIC           Displays WMI information inside interactive command shell.