Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 28-12-2004, 09:59 AM   #11
Petter1979
Game freak

 
Join Date: Apr 2004
Location: ,
Posts: 117
Default

hehe made around 15 tests, with diffrent switches.
Petter1979 is offline                         Send a private message to Petter1979
Reply With Quote
Old 28-12-2004, 11:23 AM   #12
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

well I knew there were better combo's but I was glad I could point a possible direction that doesn't require much effort.
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote
Old 28-12-2004, 11:37 AM   #13
Petter1979
Game freak

 
Join Date: Apr 2004
Location: ,
Posts: 117
Post

Yeah thanks Data for the original idea


Petter1979 is offline                         Send a private message to Petter1979
Reply With Quote
Old 28-12-2004, 12:03 PM   #14
Kon-Tiki
[BANNED]

 
Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
Default

What's the /A:A /D /O:G do?
Kon-Tiki is offline                         Send a private message to Kon-Tiki
Reply With Quote
Old 28-12-2004, 01:03 PM   #15
Titan
Gnome
 
Titan's Avatar

 
Join Date: Oct 2003
Location: Mullsjö, Sweden
Posts: 1,602
Send a message via ICQ to Titan Send a message via MSN to Titan Send a message via Skype™ to Titan
Default

"Dir /?" perhaps?
__________________
Meh....
Titan is offline                         Send a private message to Titan
Reply With Quote
Old 28-12-2004, 03:24 PM   #16
Kon-Tiki
[BANNED]

 
Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
Default

Meh, too lazy :bleh:
Kon-Tiki is offline                         Send a private message to Kon-Tiki
Reply With Quote
Old 28-12-2004, 05:34 PM   #17
Unknown Hero
Home Sweet Abandonia

 
Join Date: Aug 2004
Location: Split, Croatia
Posts: 1,028
Default

Can someone explaind order by order what does it mean!?!?!?!?

/s?
/v?
/a?
/$&$//"#$/$")=(/"=!%/)???

@Kon-Tiki
Thanks, I got it! :tnx:
Unknown Hero is offline                         Send a private message to Unknown Hero
Reply With Quote
Old 28-12-2004, 11:04 PM   #18
Eagle of Fire
Friendly Fire
 
Eagle of Fire's Avatar

 
Join Date: Sep 2004
Location: Valleyfield, Canada
Posts: 4,892
Default

Code:
DIR [DRIVE:][PATH][NAME OF FILE] [/A[[:]ATTRIBUTE]] [/B] [/C] [/D] [/L] [/N] [/O[[:]SORT]] [/P] [/Q] [/S] [/T[[:]TIME]] [/W] [/X] [/4]

 * * [DRIVE:][PATH][NAME OF FILE]
 * * * * *Selection of a specific drive, directory or file to be listed

 * * /A * * Shows the files which attribute are specified.
 * * * * *attributes * * D * * Directory * * R * * Read Only
 * * * * * * * * * * * * H * * Hidden * * * *A * * Archive
 * * * * * * * * * * * * S * * System * * * *- * * Negation prefix
DOS used those attribute flags to know which files were what. For example, an hidden file would not be see under the normal DIR command. Read only could not be overwritten, and files with the Directory flag were directories. The negation prefixe helped sort the files which were NOT the specified attribute.
Code:
 * * /B * * Use the shortened format (only file names).
 * * /C * * Use the thousands comma when showing the files size. This is on by 
 * * * * * * * * default, use /-C to deactivate this option.
 * * /D * * Shows the files on 5 columns, all sorted by columns.
This is extremely usefull. Instead of showing the related informations of each files on only one column, DIR will show you all the files it can in one screen in several columns. Extremely powerfull with /P. The difference with /W comes with the fact that the files will be sorted alphabetically from first to last in the first collumn, then DIR will continue in the second column. the /W option sort the files from left to right instead.
Code:
 * * /L * * Use lowercases.
 * * /N * * New format on long list where the file names are sorted to the right.
This seems to be a new setting. My DIR use this option by default, but then what would you expect since I only booted WinXP command prompt? If you want to see how it was looking like in the old days, type DIR/-N and see.
Code:
 * * /O * * Shows the files with a specific sort.
 * * * * *SORT * N * * Name (alphabetical order) * * * * *S * * Size (increasing)
 * * * * * * * * E * * Extention (alphabetical order) * * D * * Date and time (chronological)
 * * * * * * * * G * * Directories listed first * * * * * - * * Negation prefix
 * * /P * * Pause after a whole screen of information
This is extremely usefull. If you ever get into a directory which have more files than lines on your screen (would you use /D or not) then using /P will pause the DIR command and ask you to hit a key whenever there is no more space left to write on the screen. Back in the old days you could always hit the Pause (english sp?) button but even then it was hazardous and you often had to start over again if you missed the file you were searching for.
Code:
 * * /Q * * Shows the name of the owner of the file
Clueless about this one. Never used it. My best bet would be that when you purchased a file or a software, the most influencal producers began to add a line in their files to know from which corporation it was coming from. Like when you started some games it told you from who it has been made and sometimes you had personified messages when the program returned to DOS. Can't help you more on this one.
Code:
 * * /S * * Subrecurse (sp?) directory.
Instead of only listing the files on the current directory, DIR will search all the visible directories and backtrace them all, listing all the files it encounter along with their original location. Very annoying if you do that in C:\ on a big HD . Overall a very powerfull option.
Code:
 * * /T * * Time sorting option
 * * * * *TIME * * C * * Created [i](sort files by date and time of first writting)[/i]
 * * * * * * * * * A * * Accessed [i](sort files by last time accessed (or used))[/i]
 * * * * * * * * * W * * Writted [i](sort files by last time written (or overwritten)[/i]
 * * /W * * Shows the results on 5 columns
This is extremely usefull. Instead of showing the related informations of each files on only one column, DIR will show you all the files it can in one screen in several columns. Extremely powerfull with /P. The difference with /D comes with the fact that the files will be sorted alphabetically from left to right on each line, then DIR will continue to the next line. The /D option sort the files from columns to columns instead.
Code:
 * * /X * * Shows short names in 8.3 car. format.
Seems to be another Windows modification. Using this flag allow you to see files with only 8 characters long, plus 3 characters for the extention. In OLD DOS, no files could have more than 8 characters plus 3 for the extention. Windows 95 changed that, that's why you can see the ~'s if you use that option since DOS could not read those files correctly innitially.
Code:
 * * /4 * * Shows the date flag of files on 4 digit
The reason of the infamous 2K bug was that the PC never been innitially intended to work pass year 2000. It was probably left out as an easier way to code or bring the code data size down since space was really an issue at the beginning, so the date year format always been 2 digit (for example 94 for 1994) until recently when the hype about the 2K bug began to appear. It was really a needed upgrade, and you can expect all modern computers to use 4 digit date format now.

I have left the most obvious commands alone, and commented on those I thought would be usefull to. My comments always refer to the last flag listed above the comment.

Hope that helps! :angel:
__________________
I'm on a hot streak... Literally.
Proud member of The Abandoned since 2005.
Eagle of Fire is offline                         Send a private message to Eagle of Fire
Reply With Quote
Old 28-12-2004, 11:11 PM   #19
Petter1979
Game freak

 
Join Date: Apr 2004
Location: ,
Posts: 117
Default

Quote:
Originally posted by Kon-Tiki@Dec 28 2004, 07:03 PM
What's the /A:A /D /O:G do?
/A:A Files ready for archiving, (I avoid it listing directories inside directories)

/D = files are list sorted by column.

/O = List by files in sorted order, :G = Group directories first


cant really give a better explanation since english is not my native language. But i used this site to make the command:
http://www.computerhope.com/dirhlp.htm#01

DIR /S /A:A /D /O:G > blah.txt

tried using it on a game i had:

DIR F:\LORDS2 /S /A:A /D /O:G > test11.txt

here is the result:
http://www.upit.dk/u/test11.txt
Petter1979 is offline                         Send a private message to Petter1979
Reply With Quote
Old 28-12-2004, 11:18 PM   #20
Petter1979
Game freak

 
Join Date: Apr 2004
Location: ,
Posts: 117
Default

Hehe Eagle you were faster than me


Petter1979 is offline                         Send a private message to Petter1979
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
New File-sharing Program Advice Iowa Tech Corner 20 14-10-2007 04:10 PM
A Free Software That Can Make Invitation Cards? Sameeralord Tech Corner 4 08-08-2005 09:44 AM
Free Webspider Program Zarkumo Tech Corner 3 04-07-2005 06:53 PM
Make Dosbox Larger Without Make It Fullscreen _\Magus/_ Tech Corner 4 02-05-2005 07:57 PM
I Will Make Sombody A Free Signature Banner! dragonLancer Blah, blah, blah... 11 08-03-2005 03:00 AM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 10:55 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.