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 - Set-Location bug??

Reply
 
Old 10-24-2006   #1 (permalink)
Keith Hill [MVP]


 
 

Set-Location bug??

If I type this into PoSH RC2:

> set-location // -ea:stop


I get an error message but I also wind up in the location:
Microsoft.PowerShell.Core\FileSystem::. Is that to be expected or is it a
bug? If the set-location fails and I tell it to stop on an error it seems
like it should leave me where I was.

--
Keith



My System SpecsSystem Spec
Old 10-24-2006   #2 (permalink)
dreeschkind


 
 

RE: Set-Location bug??

I get the same results on my system and I don't think that this is to be
expected.
I'd say file a bug on this issue.

--
greetings
dreeschkind


"Keith Hill [MVP]" wrote:

> If I type this into PoSH RC2:
>
> > set-location // -ea:stop

>
> I get an error message but I also wind up in the location:
> Microsoft.PowerShell.Core\FileSystem::. Is that to be expected or is it a
> bug? If the set-location fails and I tell it to stop on an error it seems
> like it should leave me where I was.
>
> --
> Keith
>
>
>

My System SpecsSystem Spec
Old 10-25-2006   #3 (permalink)
Wei Wu [MSFT]


 
 

RE: Set-Location bug??

Hi Keith,
Please file a bug. Thanks.
--
Wei Wu [MSFT]
Windows PowerShell Team
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



"Keith Hill [MVP]" wrote:

> If I type this into PoSH RC2:
>
> > set-location // -ea:stop

>
> I get an error message but I also wind up in the location:
> Microsoft.PowerShell.Core\FileSystem::. Is that to be expected or is it a
> bug? If the set-location fails and I tell it to stop on an error it seems
> like it should leave me where I was.
>
> --
> Keith
>
>
>

My System SpecsSystem Spec
Old 10-25-2006   #4 (permalink)
Keith Hill [MVP]


 
 

Re: Set-Location bug??

"Wei Wu [MSFT]" <wei.wu@discussions.microsoft.com> wrote in message
news:B1DCACA7-7C24-45BA-85F5-83D2B4A6C0AA@microsoft.com...
> Hi Keith,
> Please file a bug. Thanks.


Done.

https://connect.microsoft.com/feedba...1817&SiteID=99

--
Keith

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
location is not available..? Vista General
Location tab General Discussion
Location ID .NET General
BUG? Invalid location after Set-Location \\MyMachine PowerShell


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