4

I have a very long path name which I created a PS-Drive for

new-psdrive -name blah -psprovider filesystem -root c:/foo/bar/bizz/bazz/grozz/grizz/blah/blow

I need to pass a file into an external tool which is having trouble resolving the path across the psdrive path. How do I get the path to a file (say directly underneath the blah directory) bit with the full path?

George Mauer
  • 110,852
  • 124
  • 360
  • 595

1 Answers1

3

Does this help ?

(Get-Item "blah:\yourfile.ps1").FullName
JPBlanc
  • 67,114
  • 13
  • 128
  • 165