Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - open an Internet Explorer instance at the current directory

Reply
 
Old 07-25-2009   #1 (permalink)
Larry__Weiss


 
 

open an Internet Explorer instance at the current directory

With a cmd.exe based prompt I can execute
start "" .
to get an Internet Explorer instance opened up at the current directory.

At a PowerShell session prompt, I can do pretty much the same thing with
cmd /c start "" .

Is there a way to do that using PowerShell cmdlets?

- Larry

My System SpecsSystem Spec
Old 07-26-2009   #2 (permalink)
Mike Pfeiffer


 
 

RE: open an Internet Explorer instance at the current directory

I think you mean windows explorer...but yea, you can use invoke-itemgiving it
a period for the literal path:

invoke-item .

this will open windows explorer at the current working directory

"Larry__Weiss" wrote:
Quote:

> With a cmd.exe based prompt I can execute
> start "" .
> to get an Internet Explorer instance opened up at the current directory.
>
> At a PowerShell session prompt, I can do pretty much the same thing with
> cmd /c start "" .
>
> Is there a way to do that using PowerShell cmdlets?
>
> - Larry
>
My System SpecsSystem Spec
Old 07-26-2009   #3 (permalink)
Larry__Weiss


 
 

Re: open an Internet Explorer instance at the current directory

Right. I did mean Windows explorer.
Thanks for the information about how to use invoke-item to launch it.

ii .

could not be any easier to type!

- Larry


Mike Pfeiffer wrote:
Quote:

> I think you mean windows explorer...but yea, you can use invoke-itemgiving it
> a period for the literal path:
> invoke-item .
> this will open windows explorer at the current working directory
>
> "Larry__Weiss" wrote:
Quote:

>> With a cmd.exe based prompt I can execute
>> start "" .
>> to get an Internet Explorer instance opened up at the current directory.
>> At a PowerShell session prompt, I can do pretty much the same thing with
>> cmd /c start "" .
>> Is there a way to do that using PowerShell cmdlets?
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
After I log out and back in, any open Explorer windows are reopened,but become rooted to the current directory Vista General
internet explorer cannot open the internet site... Browsers & Mail
It says my internet is connected but when I open Internet Explorer it doesn't work! Browsers & Mail
how do I keep powershells current directory and dotnets current directory in sync PowerShell
Directory Tree Incorrect When using Internet Open File Dialog Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46