0 Members and 5 Guests are viewing this topic.
DIR [drive:][path][filename] [/P] [/W] [/A[[:]attributes]] [/O[[:]sortorder]] [/S] [/B] [/L] [drive:][path][filename] Specifies drive, directory, and/or files to list. /P Pauses after each screenful of information. /W Uses wide list format. /A Displays files with specified attributes. attributes D Directories R Read-only files H Hidden files A Files ready for archiving S System files - Prefix meaning "not" /O List by files in sorted order. sortorder N By name (alphabetic) S By size (smallest first) E By extension (alphabetic) D By date & time (earliest first) G Group directories first - Prefix to reverse order /S Displays files in specified directory and all subdirectories. /B Uses bare format (no heading information or summary). /L Uses lowercase.Switches may be preset in the DIRCMD environment variable. Overridepreset switches by prefixing any switch with - (hyphen)--for example, /-W.
Not sure, maybe possible with a batch file, but no guarantees.
dir maps /w/a:-h-s-d/o:n/n > amaps.txt
dir maps /w/a:-h-s-d/o:n > amaps.txt
C:\Soldat>dir /b maps\*.PMSAirpirates.PMSArena.PMSArena2.PMSArena3.PMS...Tropiccave.PMS
Because /n still isn't supported. What do you need /n for anyhow? If you want to get a list of maps without any extras, you can just use `dir /b maps\*.PMS` and you'll get a list like:Code: [Select]C:\Soldat>dir /b maps\*.PMSAirpirates.PMSArena.PMSArena2.PMSArena3.PMS...Tropiccave.PMS
I'm new to this type of thing fyi