ぽざうねっと
ホーム
連絡をする
同期する ( RSS 2.0 )
Login
投稿数 420 : 記事 0 : コメント 9422 : トラックバック 76
ニュース
さて、今年は何を漬けようか
書庫
2009年6月 (1)
2009年5月 (6)
2009年4月 (3)
2009年3月 (1)
2009年2月 (1)
2009年1月 (3)
2008年12月 (9)
2008年10月 (8)
2008年9月 (41)
2008年8月 (17)
2008年7月 (9)
2008年6月 (19)
2008年5月 (2)
2008年4月 (10)
2008年3月 (25)
2008年2月 (37)
2008年1月 (53)
2007年12月 (2)
2007年11月 (10)
2007年10月 (7)
2007年9月 (10)
2007年8月 (2)
2007年7月 (5)
2007年6月 (12)
2007年5月 (10)
2007年4月 (19)
2007年3月 (16)
2007年2月 (23)
2007年1月 (19)
2006年12月 (31)
2006年11月 (9)
日記カテゴリ
DB >> MySQL
DB >> Oracle
DB >> SQL Server
dev >> .NET >> ADO.NET
dev >> .NET >> ASP.NET
dev >> .NET >> Forms
dev >> .NET >> Others
dev >> JavaScript
dev >> Others
dev >> Others >> Web
dev >> Ruby
dev >> Ruby >> Rails
dev >> SQL
dev >> XML
env >> Linux
env >> Linux >> Ubuntu
env >> Windows
env >> Windows >> Vista
etc
tool
tool >> Office
Accessory
Community
Private
ディレクトリ階層をツリー表示する EmEditor のマクロ
/* * 指定されたディレクトリ以下の階層をツリー表示します。 */ var dirPath = prompt("input directory path", ""); var fso = new ActiveXObject("Scripting.FileSystemObject"); var dirMark = "
"; if (fso.folderExists(dirPath)) { editor.newFile(); var newDoc = editor.documents.item(editor.documents.count); var dir = fso.getFolder(dirPath); newDoc.writeln(dir.name + dirMark); function writeSubTree(dir, branchParts) { var counter = 0; for (var de = new Enumerator(dir.subFolders); !de.atEnd(); de.moveNext()) { if (counter == dir.subFolders.count - 1) { if (dir.files.count > 0) { newDoc.writeln(branchParts + "├" + de.item().name + dirMark); writeSubTree(de.item(), branchParts + "│"); } else { newDoc.writeln(branchParts + "└" + de.item().name + dirMark); writeSubTree(de.item(), branchParts + " "); } } else { newDoc.writeln(branchParts + "├" + de.item().name + dirMark); writeSubTree(de.item(), branchParts + "│"); } counter++; } counter = 0; for (var fe = new Enumerator(dir.files); !fe.atEnd(); fe.moveNext()) { if (counter == dir.files.count - 1) { newDoc.writeln(branchParts + "└" + fe.item().name); } else { newDoc.writeln(branchParts + "├" + fe.item().name); } counter++; } } writeSubTree(dir, ""); } else { if (dirPath.length > 0) { alert("<" + dirPath + "> is not found"); } }
簡単な配置構成のドキュメントを書くときに使えるかもしれない。
投稿日時 : 2008年2月16日 20:55
コメント
#
re: ディレクトリ階層をツリー表示する EmEditor のマクロ
2008/02/17 12:58
DELI
単純にディレクトリ構成を出すだけなら、dosの時代からtreeコマンドがあります。
それじゃダメなのかしら。
[余談]
UNIXだとなかったと思う。
と考えながら今試したら、Linuxにはパッケージがあった。
BSDでもあった。
・・・・いつ追加されたんだろう??知らなかった。
#
re: ディレクトリ階層をツリー表示する EmEditor のマクロ
2008/02/17 15:59
THREE-ONE
> tree コマンド
知らなんだ・・・・orz
ま、まあ、いつも使っている書式で出力したかったので(^-^;;)
#
Drug information. Medicament prescribing information.
https://edonlinefast.com
Read information now. Learn about the side effects, dosages, and interactions.
2023/02/17 11:05
EdOnline
Drug information. Medicament prescribing information.
https://edonlinefast.com
Read information now. Learn about the side effects, dosages, and interactions.
#
meds online without doctor prescription - https://cheapdr.top/#
2023/04/03 15:26
Dikolipo
meds online without doctor prescription -
https://cheapdr.top/#
#
prednisone 5 mg tablet - https://prednisonesale.pro/#
2023/04/22 15:13
Prednisone
prednisone 5 mg tablet -
https://prednisonesale.pro/#
#
buy misoprostol over the counter - https://cytotecsale.pro/#
2023/04/29 4:42
Cytotec
buy misoprostol over the counter -
https://cytotecsale.pro/#
#
male uti treatment over the counter https://overthecounter.pro/#
2023/05/08 22:48
OtcJikoliuj
male uti treatment over the counter
https://overthecounter.pro/#
#
reputable mexican pharmacies online https://pillswithoutprescription.pro/#
2023/05/16 9:34
PillsPro
reputable mexican pharmacies online
https://pillswithoutprescription.pro/#
#
prednisone 5 mg tablet without a prescription https://prednisonepills.pro/# - prednisone 15 mg daily
2023/06/05 5:21
Prednisone
prednisone 5 mg tablet without a prescription
https://prednisonepills.pro/#
- prednisone 15 mg daily
#
erectile dysfunction medications https://edpill.pro/# - ed medications
2023/06/27 14:39
EdPills
erectile dysfunction medications
https://edpill.pro/#
- ed medications
#
buy cytotec https://cytotec.ink/# - buy cytotec pills online cheap
2023/07/27 1:16
PillsFree
buy cytotec
https://cytotec.ink/#
- buy cytotec pills online cheap
#
internet dating site
2023/08/09 17:58
WayneGurry
free dating service:
https://datingtopreview.com/#
- chat with singles
#
cytotec online
2023/08/27 23:54
Georgejep
http://misoprostol.guru/#
cytotec pills buy online
#
comprare farmaci online all'estero
2023/09/24 19:00
Archieonelf
https://farmaciaonline.men/#
farmacia online migliore
#
acquisto farmaci con ricetta
2023/09/25 18:32
Archieonelf
https://farmaciabarata.pro/#
farmacia online 24 horas
#
п»їonline apotheke
2023/09/26 13:20
Williamreomo
http://onlineapotheke.tech/#
versandapotheke versandkostenfrei
online apotheke gГ?nstig
#
farmaci senza ricetta elenco
2023/09/26 19:07
Archieonelf
https://farmaciabarata.pro/#
farmacia online 24 horas
#
gГјnstige online apotheke
2023/09/27 0:33
Williamreomo
http://onlineapotheke.tech/#
online apotheke deutschland
gГ?nstige online apotheke
#
online apotheke gГјnstig
2023/09/27 1:29
Williamreomo
https://onlineapotheke.tech/#
online apotheke versandkostenfrei
online apotheke gГ?nstig
#
п»їonline apotheke
2023/09/27 2:01
Williamreomo
https://onlineapotheke.tech/#
п»?online apotheke
online apotheke preisvergleich
#
versandapotheke deutschland
2023/09/27 2:33
Williamreomo
http://onlineapotheke.tech/#
online apotheke preisvergleich
versandapotheke deutschland
#
internet apotheke
2023/09/27 2:59
Williamreomo
https://onlineapotheke.tech/#
gГ?nstige online apotheke
internet apotheke
#
farmacia online senza ricetta
2023/09/27 18:44
Rickeyrof
acheter sildenafil 100mg sans ordonnance
#
ed drug prices https://edpillsotc.store/# - best non prescription ed pills
2023/10/08 1:13
EdPills
ed drug prices
https://edpillsotc.store/#
- best non prescription ed pills
#
doxycycline without rx
2023/10/08 8:41
GaylordPah
I appreciate their late hours for those unexpected needs.
https://edpillsotc.store/#
ed medications
#
doxycycline 100mg tablet
2023/10/09 10:39
GaylordPah
Always ahead of the curve with global healthcare trends.
http://edpillsotc.store/#
cheapest ed pills
#
canada pharmacies online
2023/10/16 14:16
Dannyhealm
They offer unparalleled advice on international healthcare.
https://mexicanpharmonline.shop/#
reputable mexican pharmacies online
#
buy rx online
2023/10/16 18:28
Dannyhealm
Hassle-free prescription transfers every time.
http://mexicanpharmonline.shop/#
mexican pharmaceuticals online
#
citrus ortho and joint institute
2023/10/16 19:33
Dannyhealm
A trusted partner in my healthcare journey.
https://mexicanpharmonline.com/#
mexican rx online
#
canada drug store
2023/10/16 21:43
Dannyhealm
I trust them with all my medication needs.
https://mexicanpharmonline.com/#
pharmacies in mexico that ship to usa
#
canada mail order drug
2023/10/17 1:50
Dannyhealm
I've never had to wait long for a prescription here.
http://mexicanpharmonline.com/#
mexican pharmaceuticals online
#
canadian mail order pharmacies
2023/10/17 2:22
Dannyhealm
They ensure global standards in every pill.
http://mexicanpharmonline.com/#
mexico drug stores pharmacies
#
best online indian pharmacies
2023/10/18 1:23
Dannyhealm
Leading with integrity on the international front.
http://mexicanpharmonline.shop/#
reputable mexican pharmacies online
#
canada pharmcy
2023/10/18 8:16
Dannyhealm
The staff is well-trained and always courteous.
http://mexicanpharmonline.com/#
mexican border pharmacies shipping to usa
#
order prescription from canada
2023/10/18 14:06
Dannyhealm
The best in town, without a doubt.
https://mexicanpharmonline.com/#
mexican rx online
#
licensed canadian pharmacies
2023/10/18 16:26
Dannyhealm
They have a fantastic range of supplements.
https://mexicanpharmonline.shop/#
mexican pharmaceuticals online
#
no presciption needed
2023/10/19 5:02
Dannyhealm
Their staff is always eager to help and assist.
http://mexicanpharmonline.com/#
mexican rx online
#
reliable canadian pharmacies
2023/10/19 8:27
Dannyhealm
They provide international health solutions at my doorstep.
http://mexicanpharmonline.com/#
reputable mexican pharmacies online
#
buy clopidogrel bisulfate https://plavix.guru/ buy clopidogrel bisulfate
2023/10/24 0:45
Plavixxx
buy clopidogrel bisulfate
https://plavix.guru/
buy clopidogrel bisulfate
#
cure ed
2023/11/23 15:10
WilliamApomb
http://sildenafil.win/#
sildenafil 20mg prescription cost
#
treatments for ed https://edpills.tech/# ed drug prices
2023/12/23 8:12
EdPills
treatments for ed
https://edpills.tech/#
ed drug prices
#
order generic clomid
2023/12/26 21:54
RaymondGrido
https://paxlovid.win/#
paxlovid covid
#
paxlovid india
2023/12/27 8:41
Brianmooda
http://prednisone.bid/#
prednisone 40 mg price
Post Feedback
タイトル
名前
Url:
コメント:
名前をブラウザに記憶する
Powered by:
Copyright © THREE-ONE