Forcing Windows Explorer To User Firefox

Ok, so I was bored and came up with a way to make the Windows Explorer icon (located in Start > Programs > Accesories) to bring up Firefox to the current logged in users documents and settings folder. Copy and paste the follwing VBscript into notepad and save it to the C:\Windows folder as winexplorer.vbs.

‘**********************************************
‘Changing Win Explorer to use Firefox
‘***************by dmac*********************

‘Declares variable for network script to retrieve UserName
Set objNet = CreateObject(”WScript.NetWork”)

‘Declares variable to run shell commands
Set WShell = CreateObject(”WScript.Shell”)

‘run command to bring firefox at current logged in users documents ‘and settings folder
WShell.Run “firefox file:///c:/Documents%20and%20Settings/” & (objNet.UserName)

After you have completed this, browse to the the Windows Explorer icon (located in Start > Programs > Accesories) and rigt click then go to properties. Change the target to point to C:\windows\winexplorer.vbs. Apply the canges and you are done.

No Comment

Comments are closed.