Navigation

Search

Categories

On this page

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 120
This Year: 1
This Month: 0
This Week: 0
Comments: 40

Sign In
Pick a theme:

# Wednesday, July 19, 2006
Wednesday, July 19, 2006 10:06:00 AM (Mountain Daylight Time, UTC-06:00) ( )

Downloading open source (the unix variety) means that you end up having a folder called DOC with a bunch of plain-text files that have no extension

Windows doesn't really know what to do with that, because it uses the extension (whats after the last dot) to assign a mime-type and associate default shell commands.

Sometimes you want to rename those files to reflect that they're plain-text ascii files so you can open it with notepad (and friends)

open your shell, and run the following after changing your working directory to the afore mentioned DOC folder

for /f %i in ('dir /b') do @rename %i %i.txt

bitchin'

Comments [0] | | # 
Comments are closed.