dir “C:\FOLDER” /b/s |find /v /c “::”
Filed under: Applied IT | Leave a Comment »
dir “C:\FOLDER” /b/s |find /v /c “::”
Filed under: Applied IT | Leave a Comment »
From here http://weblogs.asp.net/lorenh/archive/2006/03/24/silly-batch-file-tricks-redirecting-stdout-into-an-evironment-variable-and-dp0.aspx FOR /F “tokens=*” %%i in (‘%~dp0sometool.exe’) do SET TOOLOUTPUT=%%i
Filed under: Applied IT | 1 Comment »