Skip to content

Instantly share code, notes, and snippets.

@dgfitch
Created August 17, 2010 15:06
Show Gist options
  • Save dgfitch/530300 to your computer and use it in GitHub Desktop.
Save dgfitch/530300 to your computer and use it in GitHub Desktop.
Get-ChildItem -Recurse |
Where-Object { !$_.PSIsContainer } |
Foreach-Object {
Write-Host("<p><a href='{0}'>{1}</a></p>" -f ($_.FullName.Replace($pwd, "").Trim('\')), $_.Name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment