Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Roja

Good Tip To List All File Names In A Directory

Recommended Posts

:P:):blink:

 

Look like my DOS skills are becoming rare. Do you think I can make money out of it?

Share this post


Link to post
Share on other sites

Well, Roja, when you have birthday? I will send you my old, good, full of coffee spots DOS manual...:P

 

Regards.

Share this post


Link to post
Share on other sites

DOS ahh the good old days, gotta love them.

 

I'm a dos newb

 

Hey At least you know what DOS is, that's better than most of the people working with computers today :P

 

NeoSeS

Share this post


Link to post
Share on other sites
*nix makes your dreams reality.

Yeah, when it comes to command line, bash is teh god.

So many times I wanted to press tab in windows, or the up arrow...

Share this post


Link to post
Share on other sites
*nix makes your dreams reality.

Yeah, when it comes to command line, bash is teh god.

So many times I wanted to press tab in windows, or the up arrow...

The up arrow? You know, if you got a Windows version old enough that it doesn't support up arrow out of the box (win 98?), you just put doskey in autoexec.bat (might need full path). Works at least since DOS 5.0, and I think I even used it on DOS 3.3 :P

 

Tab on the other hand, they tried to implement that in XP (you might need TweakUI to enable it), but it's still crap compared to readline (bash).

Share this post


Link to post
Share on other sites

for file in `find 2dobjects/ -type f -name *.2d0 -print`; do echo $file $C; ((C++)); done

Is a valid command line in Bash - Not only would it print out the 2d-objects in the 2dobject folder (not BMP's), but it'd also print the number (or ID if you like) of the object afterwards. Don't tell me that's not a useful feature :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×