Posts about 'Msdos'
-
Oct 9, 2009
MSDOS iterating filenames in a file
In an earlier post I covered finding the writable files in a directory, which is something you often need to do when messing around with source control. For example, if...
-
Sep 23, 2009
Windows command window title
Did you know you could change the title in the window of a command prompt using the title command? Example:title Poop ha ha Now that's only really useful for making...
-
Jan 12, 2009
Finding writable files in a directory in a windows command line
Simple thing, but if you want to find which files in a directory are writable, use this dos command ...dir /a-r-d /s /b/a is to search for attributes. In this...
-
May 13, 2008
Batch file tip ... %~dp0
Here's a nice blog post on this...Silly batch file tricks, redirecting stdout into an evironment variable and %~dp0But just for my own reference the cryptic looking character sequence resolves to...