PowerShell FileInfo outputs file in child directory
Posted
by spoon16
on Stack Overflow
See other posts from Stack Overflow
or by spoon16
Published on 2010-05-05T01:51:46Z
Indexed on
2010/05/05
1:58 UTC
Read the original article
Hit count: 445
powershell
Why is the output in this case not c:\source\temp\test.txt?
PS C:\source\temp> (New-Object IO.FileInfo .\test.txt).FullName
c:\source\test.txt
© Stack Overflow or respective owner