• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:24
CEST 20:24
KST 03: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
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy16ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research8Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
What mix of new & old maps do you want in the next ladder pool? (SC2) Team Liquid Map Contest #22 - Presented by Monster Energy Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple herO wins SC2 All-Star Invitational
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
Gypsy to Korea ASL21 General Discussion How can I add timer&apm count ? A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro24 Group F [ASL21] Ro24 Group E
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2043 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
Big Brain Bouts
16:00
#111
Bly vs TBD
TriGGeR vs Lambo
RotterdaM1125
IndyStarCraft 246
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 1125
IndyStarCraft 246
ProTech126
Hui .124
UpATreeSC 105
BRAT_OK 57
StarCraft: Brood War
Britney 22207
Calm 5118
Mini 1102
Horang2 701
firebathero 411
EffOrt 309
BeSt 289
actioN 196
Soulkey 176
hero 58
[ Show more ]
yabsab 26
Aegong 26
Backho 25
Rock 24
Sexy 12
910 11
IntoTheRainbow 9
Noble 4
Dota 2
420jenkins421
capcasts30
Counter-Strike
fl0m1331
byalli660
Heroes of the Storm
Liquid`Hasu358
MindelVK7
Other Games
gofns11485
Grubby2861
FrodaN1751
Beastyqt535
Fuzer 150
ArmadaUGS120
ToD116
crisheroes101
KnowMe99
QueenE81
Trikslyr45
C9.Mang042
Organizations
StarCraft 2
ComeBackTV 613
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• intothetv
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• 80smullet 30
• blackmanpl 6
• HerbMon 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1845
• WagamamaTV672
• lizZardDota2106
Other Games
• imaqtpie737
• Shiphtur211
Upcoming Events
Replay Cast
5h 37m
RSL Revival
15h 37m
Maru vs MaxPax
BSL
1d
RSL Revival
1d 12h
Cure vs Rogue
uThermal 2v2 Circuit
1d 19h
BSL
2 days
Afreeca Starleague
2 days
Wardi Open
2 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
[ Show More ]
The PondCast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 20: Qualifier 1
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
ASL Season 21
CSL Season 20: Qualifier 2
StarCraft2 Community Team League 2026 Spring
RSL Revival: Season 4
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
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 © 2026 TLnet. All Rights Reserved.