Show the first word on each line

Posted on

Apr,30

 at

3:13 pm

by

jimazing

Building on the Not Dir command from last Friday… Andrew asked me today if I would help him come up with a way to parse a text file and show only certain lines that have the words “,smack”, “,my” or “,asprin” (notice that each of these is right after a comma). Oh yeah, the […]

Not DIR

Posted on

Apr,25

 at

4:59 pm

by

jimazing

Looking for a command to do sort of the opposite of the DIR command in Windows today, I asked for help from the team and they came through for me!  Here’s what I was trying to do…
DIR *.ini
returns a list of files with the “ini” extension, but what I wanted was a list of files that […]

Command to move a list directories

Posted on

Jun,12

 at

6:16 pm

by

jimazing

Does anybody know a dos command that will move a list of directories from one drive to another?
for /d %f in (whatever.*) do move %f destination