Ron Sparks Author, Poet

TagDOS

DOS Command Line – Alphabetically Merging Files Recursively In Multiple Directories

D

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...

Windows 7 “Command Prompt Here”

W

Before Windows 7, I had to muck with the registry to get right-click context in Windows Explorer to open a DOS prompt in the folder I was viewing.  Windows 7 does it for free.
Simple hold SHIFT and RIGHT CLICK within Windows Explorer to view the option to open a command prompt in that folder.
28.508582-81.356441

Searching Contents of Files Via MS-DOS

S

I log into a lot of client production servers and do not have the luxury of installing my favorite GUI tools, such as UltraEdit, which (among other things) easily allows me to search within files.  On these servers I am limited to what is already installed.  Just today I was forced to search an entire website on a client server for a file that that might contain the string “bill”. So...

Removing all .svn folders from a folder via Windows batch

R

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"
28.508582-81.356441

Ron Sparks Author, Poet

Select a Category to Browse

Ron Sparks

Ron Sparks is a technology professional, science fiction and fantasy author and poet living in Zurich, Switzerland. His latest book "ONI: Satellite Earth Series Book 1" is available on Amazon.com.

Welcome

A man of many passions, I lay claim to a myriad of interests and hobbies. Among them, I am an amateur astronomer, an avid motorcycle rider, a whiskey aficionado, a (poor) surfer, a scuba diver, a martial artist, a student of philosophy, a proponent of critical thinking, a technologist, an entrepreneur, a cancer survivor, and I harbor a lifelong love of science fiction and fantasy. Feel free to strike up a conversation on the social networks below.

Site Pages