Wanna merge files recursively from the DOS command line? SQL Files All Over The Place – Problem! I do a lot of grunt work in DOS. Also, I have dozens of SQL scripts in multiple folders that need to be run sequentially in order to recreate the database, create the database objects, and seed the initial data in the system. I can run them one at a time, eating up half an hour or...
I needed to delete all .svn subversion folders and the files within them and did not want to take the time to do it manually. This little command prompt script will recurse a folder and delete all folders names “.svn” and all the files within.
for /d /r . %d in (.svn) do @if exist "%d" rd /s/q "%d"