Is there a tool inside TC that can export folder structure to HTML?
(Example: Image: http://www.sitefinity.com/documentation/sf-images/designers-guide/file-structure.jpg)
Peter
Export folder-structure to HTML?
Moderators: Hacker, petermad, Stefan2, white
Export folder-structure to HTML?
TC 10.xx / #266191
Win 10 x64
Win 10 x64
PowerShell: output dir scan as HTML
[face=timesnewroman]EDIT: Sorry, I missed the "structure" part 
But that should be possible also with an more advanced script.[/face]
------------------------------
Maybe utilize PowerShell?
More info:
http://technet.microsoft.com/en-us/library/ee156817.aspx
http://technet.microsoft.com/en-us/library/ff730936.aspx
- - -
Note:
"%P" is a Total Commander parameter, used in the PowerShell script as argument for the path to scan.
You can also shorten the PowerShell script by utilizing aliases and abbreviations:
"gci %P -Re | Select FullName, Length, CreationTime | ConvertTo-Html | Out-File c:\temp\_htmlTEST.htm"
You may want to use the TC parameter "?" to be prompted before actual executing:
?"gci %P -Re | Select FullName, Length, CreationTime | ConvertTo-Html | Out-File c:\temp\_XXX.htm"
Then you be able to change the name for the output file "on the fly".
- - -
An dedicated third-party tool which creates much more feature-rich HTML is e.g. >> http://www.rlvision.com/snap2html/about.asp
.

But that should be possible also with an more advanced script.[/face]
------------------------------
Maybe utilize PowerShell?
Code: Select all
TOTALCMD#BAR#DATA
powershell.exe
"Get-ChildItem %P -Recurse | Select-Object FullName, Length, CreationTime | ConvertTo-Html | Out-File c:\temp\_htmlTEST.htm"
%Commander_Path%\WCMICONS.DLL,4
-1
More info:
http://technet.microsoft.com/en-us/library/ee156817.aspx
http://technet.microsoft.com/en-us/library/ff730936.aspx
The entire script looks like this:
$a = "<style>"
$a += "BODY{background-color:peachpuff;}"
$a += "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a += "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
$a += "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
$a += "</style>"
Get-Service | Select-Object Status, Name, DisplayName |
ConvertTo-HTML -head $a -body "<H2>Service Information</H2>" |
Out-File C:\Scripts\Test.htm
- - -
Note:
"%P" is a Total Commander parameter, used in the PowerShell script as argument for the path to scan.
You can also shorten the PowerShell script by utilizing aliases and abbreviations:
"gci %P -Re | Select FullName, Length, CreationTime | ConvertTo-Html | Out-File c:\temp\_htmlTEST.htm"
You may want to use the TC parameter "?" to be prompted before actual executing:
?"gci %P -Re | Select FullName, Length, CreationTime | ConvertTo-Html | Out-File c:\temp\_XXX.htm"
Then you be able to change the name for the output file "on the fly".
- - -
An dedicated third-party tool which creates much more feature-rich HTML is e.g. >> http://www.rlvision.com/snap2html/about.asp
.