New
#11
(File path list only)
dir %UserProfile%\Desktop\*.mp3 /s /b > %UserProfile%\Desktop\MP3s.txt
(Wide list format without individual file date/time/size)
dir %UserProfile%\Desktop\*.mp3 /s /w > %UserProfile%\Desktop\MP3s.txt
(File path list only)
dir %UserProfile%\Desktop\*.mp3 /s /b > %UserProfile%\Desktop\MP3s.txt
(Wide list format without individual file date/time/size)
dir %UserProfile%\Desktop\*.mp3 /s /w > %UserProfile%\Desktop\MP3s.txt
dir %UserProfile%\Desktop\*.mp3 /s /w > %UserProfile%\Desktop\MP3s.txt
Using the above, the first is what is exported. The second is what I would like to see exported.
I opened and customized for this post.
If PowerShell is actually what I need to use, what would be the codes and how would I use them?
Code:Volume in drive C has... Volume Serial Number is... Directory of %UserProfile%\Desktop\Audio (Garth Brooks) Double Live (Disc 1) [05] The Thunder Rolls (The Long Version) (10).mp3 (Garth Brooks) Double Live (Disc 1) [05] The Thunder Rolls (The Long Version) (14).mp3 (I Just) Died in Your Arms Tonight (2).mp3 (I Just) Died in Your Arms Tonight (3).mp3 4 File(s) 23,865,532 bytes Directory of %UserProfile%\Desktop\Audio\Luke Bryan Apologize.mp3 Better Than My Heart.mp3 Country Girl (Shake It For Me).mp3 Crash My Party.mp3 Do I.mp3 Drink A Beer.mp3 and so on... 23 File(s) 162,264,912 bytes
Code:Volume in drive C has... Volume Serial Number is... Directory of %UserProfile%\Desktop\Audio (Garth Brooks) Double Live (Disc 1) [05] The Thunder Rolls (The Long Version) (10).mp3 (Garth Brooks) Double Live (Disc 1) [05] The Thunder Rolls (The Long Version) (14).mp3 (I Just) Died in Your Arms Tonight (2).mp3 (I Just) Died in Your Arms Tonight (3).mp3 4 File(s) 23,865,532 bytes Directory of %UserProfile%\Desktop\Audio\Luke Bryan Apologize.mp3 Better Than My Heart.mp3 Country Girl (Shake It For Me).mp3 and so on... 23 File(s) 162,264,912 bytes
Would it produce the desired format to use the /D switch in place of the /W, like:
dir %UserProfile%\Desktop\*.mp3 /s /d > %UserProfile%\Desktop\MP3s.txt
I don't believe some of my switches are being redirected to other switches. Is that possible?
I had that thought after considering the 2 switches are producing the same results
The only other format DIR can produce, is with the /D and /W omitted.