Solved extended attributes in DOS dir command

Toshiba / P30
April 21, 2013 at 13:00:42
Specs: Windows Vista, 3GB RAM
Hi,

I am running Win XP and when I look at a folder I have with a bunch of mp3's, I can choose to show the different attributes such as artist, album title, etc. Is there a way to get these same attributes in a dos dir command. I want to be able to build a batch file to put the songs in separate directories based on the artist and album name.


See More: extended attributes in DOS dir command

Report •

#1
April 21, 2013 at 16:11:05
Wow, from top to bottom, your title says DOS, your system specs say Vista, and your text talks about WinXP. Most people would pick a OS and stick with it.

While I'm on the subject, why do you want to do this in DOS of all OSes? Are you going to pull out your hard drive and stick it in a Win95 machine? If so, don't try it. The WinXP drive is probably NTFS, and DOS deals with FAT. FAT32 if you're using one of the Win9X offshoots, or modern non-MS versions, like FreeDOS.

How To Ask Questions The Smart Way


Report •

#2
April 21, 2013 at 18:13:52
From XP command prompt (aka dos, in your case) you can do a dir/? and enter to view the switches available for that command.

The dos 'attribute' switch is associated with hidden, system and read-only file status. You appear to be looking for a way to sort them according to part of the file name or other file information not available to the DIR command. You can sort them alphabetically with the /o switch but that's about it with DIR.

However there must be some mp3-sorting software out there that can do what you want. Google should turn something up. No need to reinvent the wheel.

Or, depending on how many files you have it may be quicker to just move them file-by-file to the folders you prefer.


Report •

#3
April 21, 2013 at 21:32:45
✔ Best Answer
Hey Dave,

Thanks. I wasn't actually referring to the attributes such as hidden, system or read only. I was referring to the extras columns you can display in windows explorer such as artist, album title, genre, bit rate, etc and I was hoping I could get these same columns in the dos dir command but it doesn't look like they are available. I ended up doing it anually even though it took me all day. Thanks for our response.


Report •

Related Solutions

#4
April 21, 2013 at 21:53:25
Yeah sometimes just finding a quick solution takes longer than the straight-forward, labor intensive way.

Report •

#5
November 15, 2014 at 20:43:01
The open source software MediaInfo will give you the media tags such as performer and composer tags. Download the CLI (command line interface) version. The Windows GUI version is useless for outputting to a file.

Report •

Ask Question