• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 21:12
CET 03:12
KST 11:12
  • 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
TL.net Map Contest #21: Winners3Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!21$5,000+ WardiTV 2025 Championship5[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! TL.net Map Contest #21: Winners RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1711 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
Replay Cast
23:00
WardiTV Mondays #58
LiquipediaDiscussion
OSC
22:00
Masters Cup 150 Open Qual
davetesta85
Liquipedia
LAN Event
18:00
Day 3: Ursa 2v2, FFA
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech129
RuFF_SC2 128
NeuroSwarm 103
StarCraft: Brood War
Calm 5603
Artosis 732
Shuttle 560
NaDa 61
League of Legends
Cuddl3bear5
Other Games
tarik_tv11674
summit1g8420
Day[9].tv539
JimRising 349
C9.Mang0268
ViBE171
FrodaN162
Organizations
Other Games
gamesdonequick744
Counter-Strike
PGL130
Other Games
BasetradeTV92
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21770
Other Games
• Scarra564
• Day9tv539
Upcoming Events
OSC
9h 48m
LAN Event
12h 48m
Korean StarCraft League
1d
CranKy Ducklings
1d 7h
LAN Event
1d 12h
IPSL
1d 15h
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
1d 17h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d 20h
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
[ Show More ]
LAN Event
2 days
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
3 days
Wardi Open
3 days
WardiTV Korean Royale
4 days
Replay Cast
5 days
Kung Fu Cup
5 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
6 days
RSL Revival
6 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
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.