Search found 3 matches

by SteveBubendorf
23 May 2010 15:50
Forum: DOS Batch Forum
Topic: Command Line Input Adaptation to Batch File
Replies: 4
Views: 7287

Re: Command Line Input Adaptation to Batch File

Thank you for the explanation! I was vaguely familiar with most of what you explained, just not enough so to have ever come up with them on my own. The "%~dp0" portion, however, I had never seen used before, and I had absolutely no idea what that portion was doing whatsoever. Thank you for...
by SteveBubendorf
22 May 2010 19:50
Forum: DOS Batch Forum
Topic: Command Line Input Adaptation to Batch File
Replies: 4
Views: 7287

Re: Command Line Input Adaptation to Batch File

aGerman, Thank you! It was the second percent sign required with the variables in the batch file that I was missing. I actually had it working before your response. I don't fully understand the remainder of your batch file, but it worked for me, so I am using yours, assuming that there is good reaso...
by SteveBubendorf
22 May 2010 13:27
Forum: DOS Batch Forum
Topic: Command Line Input Adaptation to Batch File
Replies: 4
Views: 7287

Command Line Input Adaptation to Batch File

for %f in (*.lsp) do find /i "defun C:" %f>>defunC.txt I have been using the line of code above at the Command prompt. I have many folders and it is proving very time consuming to start a command prompt in each and then to cut and paste the code to the command line. Can someone help me to ...