Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Get-Childitem bug in Powershell v. 3.0 ?

$
0
0
Let's assume that you don't have folder c:\temp

if you try to give this command:
gci c:\temp

output is:
gci : Cannot find path 'C:temp' jadajada

however if you give following command:
gci -r c:\temp

output is something like:
Directory: C:\Windows\assembly\NativeImage...
...
...

just to be clear here is the "full command":
Get-ChildItem -Recurse -Path c:\temp

another example:
Get-ChildItem -Recurse -Path c:\what_ever



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>