Showing posts with label TipsAndTricks. Show all posts
Showing posts with label TipsAndTricks. Show all posts

Saturday, February 27, 2010

When the fox bites

Firefox is a great browser. With the right plugins it provides literally everything that you really ask for in a browser. However, plugins are sometimes a bit dangerous. Recently with one of the plugin + firefox + ubuntu made my firefox bookmarks, Menubars etc completely garbled. And with great difficulty when i would try to get to the add-ons section it would just crash...Poof!!...
For a moment i wondered should i reinstall Firefox .....but then i remembered that when one man is down the other one should help. I fired up my Opera and did some "Internetting!!". Soon enough I found what i was looking for.....Command line options...they come handy when everything else fails...
So....What i did...just fired up my FFox with the following option
firefox %u -safe-mode
Guess what, it offered me with a window asking what i would like to do ...like disable all addon's, restore defaults for Ffox etc....I just said continue and then disabled the plugin that caused me the pain...
Ain't that cool...actually there are a whole bunch of command line things that you can use to get stuff done...Check this out..



Powered by ScribeFire.

Sunday, November 29, 2009

Creating drives from Folders in XP.

This is more of a technical post rather than what you normall find on my blog...
This is a problem i faced in Delphi ( my previous employer) and now with my current one too i have the same problem. The problem is that because of maintenance issues i get only one drive "C:" in my office computer. This means i cannot organize my data into different drives. If there are some tool chains ( like the ones that exist in most companies) which need some things to be in certain drives then you are really gonna have a trouble.

How to solve this?
Thankfully, there is  command in windows called subst which can be used to make a folder look like a virtual drive. This means you can for example have folders like c:\e, c:\f c:\j etc and then write the following commands to make them appear like drives
subst e: c:\e
subst f: c:\f
etc.
Now the best part is most softwares can use these as if they were real drives. I have known only very few softwares which have a problem with this. One of them is Activestate products like (perl, python). You can put these commands in a batch file and put them in your startup folder so that they will map on every login. The easiest way to remove the drives is by using the command below
subst delete e:
Now aint that really cool ;-). I would be putting some computer related stuff on the blog hence forth since i see a lot of people struggling with these simple tasks.

Apparently the problem is solved in Win 7 using some concept of virtual drives. I need to check that out.
You can subscribe to this blog by using the links under "Subscribe" section.


Powered by ScribeFire.