How to generate hyperlinks to .htm files in a directory in Powershell?

后端 未结 2 1514
栀梦
栀梦 2021-01-27 08:33

I would like to scan a directory for .htm files and then generate hyperlinks to those .htm files and output the result to a new HTML document. What is the best way to achieve th

2条回答
  •  我在风中等你
    2021-01-27 08:52

    This could be right up your street, you would need to add a filter to the Get-ChildItem line though: Aaron Lerch Blog - Create Directory Table Of Contents With Powershell

提交回复
热议问题