I am fairly new to Batch files but this is my Batch File for displaying path for Jpegs, Mp3, Mp4 etc.
@echo off
setlocal
cd /d C:\
Echo
echo Files Paths :
dir /b *.mp3 /s
dir /b *.mp4 /s
dir /b *.jpg /s
endlocal
pause
1.) Is there anyway that I can exclude Microsoft and Windows (wallpapers, icons, sounds, etc) folder from my search?
2.) How do I save the results in this output file (which is already created) C:\output.txt
Thanks!