2

How can I make zip etc. files appear as folders in powershell? Does PowerShell have a concept of folder (item) providers akin to drive providers? Can this be done without implementing a drive provider?

Preliminary search turns up some useful information but from the looks of it, it appears that I still need to implement the whole shebang.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Sandeep Datta
  • 28,607
  • 15
  • 70
  • 90

1 Answers1

3

John-Daniel Trask has a blog article about writing a PowerShell Zip provider with source code.

Magnus Lindhe
  • 7,157
  • 5
  • 48
  • 60
  • From the blog "that will enable you to mount a zip file as a drive and then navigate through it." What I want is the ability to 'cd' into zip files present in various folders on the disk without mounting them as drives. You can do something similar with windows explorer (since WinXP). This will make the zip files appear as ordinary folders in the file system. But thanks anyways for the link I found another link the comments section (http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx) which points to more relevant information. – Sandeep Datta Sep 01 '09 at 13:25
  • That involves mounting the database as a drive. ;) – JasonMArcher Aug 10 '11 at 02:35