Posts

Simple trick to auto-complete URL's

Image
I learnt a simple trick a few days back which can save beginner users a lot of hassle and others a lot of typing. For Example, to open google on a web browser, we need to type http://www. in the beginning and .com at the end. Many times we get confused between forward slash and back-slash! The trick is simple : Type "google" in address bar Then, press "ctrl" + "Enter" keys together : It'll prefix http://www. and suffix .com to the word you've written. And guess what, this works on all browsers.

Copy Full Path of a File (Trick)

Image
Let's say , you need to copy the full location of a file to use somewhere else. Traditionally, you will open the file in Windows Explorer and then copy the path in the address bar and manually append file name to the end. Say you have a file(abc.txt) at E:\All\Training Material. When you copy path, you will first append file name at the end and then add double quotes("") since we have a space in folder name. To save time, you can use a trick in Windows Explorer. Trick: Just hold "SHIFT" key  when you right-click a file and select option "Copy As Path". CopyAsPath You will get the string as : "E:\All\Training Material\abc.txt". And you are ready to go using this. Tested on: Windows 7.

Open Command Prompt(cmd) directly from a folder

Image
Instead of opening command prompt and then moving into the required folder using "cd" command , you can use a simple trick available in Windows to do the same thing.  This requires no third-party software to be installed on your system. Steps: Move to the folder in which you want to use command prompt Hold "SHIFT" key and right-click in an empty area Select "Open command window here" This will open command prompt with path changed to your current directory rather than "C:\Users\Your User Name". Screen-shots : * you can also right-click on any folder icon in the system while holding down the shift key to do the same. Tested on :    Windows 7 Ultimate

Hide a Program from being listed in Add/Remove programs

Need to hide some program you have installed on some machine ?  Wanna prevent your program from being removed by admin ? Or wanna be safe from some security audit!!! Here's the Trick.... First the bottom line/concept   The Add/Remove Programs list is populated from the following registry key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall. So ,we can modify the entries here ! The Hack begins... Just follow these steps( u must be admin ): Press start button + R. and goto "Run". type regedit. Move to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall. Here find the program you want to hide.(eg. Mozilla Firefox) In the right-pane, right-click the DisplayName value and choose Rename Rename it to anything (For example, NoDisplayName ) That's all. we are done. Now, windows does not know DisplayName for that program and will not load it in control panel. Do refer to this site for more details..

Open a Link in new tab/window without right-click

This trick is especially useful on sites like irctc.co.in , ultimatix and others which have right-click disabled on them (for some reasons).  Basically, these sites use JavaScript to do this. This can be broken by one-liner   JavaScript into address bar(where you enter site name). Just Write this on address bar of irctc :  javascript:void(document.oncontextmenu=null) Well,   I have found a very simple way that works on most sites. Just press CTRL key and left-click on the link , it will open in a new tab/window(depending on your browser settings.).  So , it has two benefits:          You can open links freely in sites that have disabled right-click        When link is opened in new tab, it does not switches over automatically (which I feel is irritating normally) . Enjoy the all-powerful CTRL key.  Keep Exploring.   Keep Discovering.