• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:24
CEST 17:24
KST 00:24
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
BW General Discussion ASL20 General Discussion ASL TICKET LIVE help! :D Soulkey on ASL S20 NaDa's Body
Tourneys
[Megathread] Daily Proleagues [ASL20] Ro16 Group D [ASL20] Ro16 Group C BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Borderlands 3 Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
i'm really bored guys
Peanutsc
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2143 users

[H] Look for a special program

Blogs > MasterReY
Post a Reply
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
August 09 2008 14:32 GMT
#1
Hi guys.

I look for a program which reads out information out of files like the filename, filetype and size and then writes them in a .txt file !

Can you help me plz?

https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
0xDEADBEEF
Profile Joined September 2007
Germany1235 Posts
August 09 2008 15:36 GMT
#2
o_O

Windows? dir > list.txt
GHOSTCLAW
Profile Blog Joined February 2008
United States17042 Posts
August 09 2008 16:53 GMT
#3
it really depends on the operating system, programming language, experience etc. Is a GUI required?
PhotographerLiquipedia. Drop me a pm if you've got questions/need help.
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
August 10 2008 10:05 GMT
#4
hmm that list.txt is not that good.
i want a list like


File1 File1type File1size
File2 File2type File2size
File3 File3type File3size
File4 File4type File4size

just simple and clean.

@waterdragon:
hmm no GUI needed.
why it depends on os, programming language, experience??

its not that i want to write that program. i want to use it
i guess something like that doesnt really exist?
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
August 10 2008 10:10 GMT
#5
Btw i got a program called mp3tag

it reads out title, album, artist etc. and writes them in the filename like i want.

i have to choose the format like "%title% - %artist%"

so i have the file called "All Summer Long - Kid Rock"

i thought if a program can do that, there should be programs for any files which write the information in a .txt file.
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
yenta
Profile Blog Joined April 2006
Poland1142 Posts
August 10 2008 12:15 GMT
#6
4 lines in perl

http://perldoc.perl.org/functions/stat.html
http://perldoc.perl.org/File/Basename.html
http://perldoc.perl.org/functions/glob.html
Trutacz Practice Discord - https://discord.gg/PWF7Pv
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
August 10 2008 13:34 GMT
#7
um
i dont know anything about perl.

T_T
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
0xDEADBEEF
Profile Joined September 2007
Germany1235 Posts
Last Edited: 2008-08-10 19:53:57
August 10 2008 19:46 GMT
#8
Well I could write a quick Python script.
But first, you need to clarify what file information you want to be displayed:
- Just the file extension?
- ID3 tags from MP3 files, because you used that as an example?
- The description you see in Windows Explorer (like "Adobe Acrobat Document" for .pdf files associated with Acrobat Reader)?
- A generic MIME type (like "text/html")?
- or something completely different?
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
August 10 2008 20:25 GMT
#9
Thanks thats very nice of you.

what i need:
Filename (ofc)
File extension/The description you see in Windows Explorer
Size (intelligent size. not bytes when its 2gb, not gb when its some kb)

no id3 tags needed.
no mime type.

well the main thing is that i would like to choose how/what information are displayed.
things like
the order of the information
a toggle for every information (so i can choose which information should be in)
toggle for extension/explorer describtion would be nice too.

Another important thing is that its clearly arranged with rows and columns or something liek that.

and maybe even an option where i can choose how to sort the files. (alphabetical,biggest file size at beginning, same type together)

0xDEADBEEF i dont know if its hard to make that program like i describe it.
If it's alot of work then you can remove some functions.



https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
Please log in or register to reply.
Live Events Refresh
Next event in 18h 36m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mcanning 118
ProTech83
Rex 68
JuggernautJason30
SpeCial 23
StarCraft: Brood War
Britney 38235
Horang2 6518
Calm 3053
Bisu 2692
EffOrt 1129
Mini 529
ZerO 485
Hyuk 484
Light 390
actioN 236
[ Show more ]
Soulkey 184
Soma 144
hero 138
Rush 101
ggaemo 98
Snow 86
Hyun 74
Sea.KH 68
sorry 56
Mind 50
JYJ37
Free 36
Aegong 29
ToSsGirL 28
Yoon 24
PianO 24
scan(afreeca) 15
Sexy 15
Terrorterran 14
HiyA 10
IntoTheRainbow 9
SilentControl 8
Dota 2
Gorgc6610
qojqva3204
Dendi1087
Fuzer 238
XcaliburYe147
League of Legends
Trikslyr36
Counter-Strike
zeus797
hiko553
markeloff207
oskar131
edward47
Other Games
gofns19440
tarik_tv16246
B2W.Neo1246
Lowko435
Hui .431
Mlord401
RotterdaM207
byalli205
FrodaN137
ArmadaUGS125
XaKoH 106
QueenE71
NeuroSwarm37
ZerO(Twitch)16
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• poizon28 15
• LUISG 14
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• FirePhoenix7
• Michael_bg 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis4383
Other Games
• WagamamaTV274
• Shiphtur200
Upcoming Events
RSL Revival
18h 36m
Zoun vs Classic
Map Test Tournament
19h 36m
Korean StarCraft League
1d 11h
BSL Open LAN 2025 - War…
1d 16h
RSL Revival
1d 18h
Reynor vs Cure
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
3 days
Wardi Open
3 days
Monday Night Weeklies
4 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.