Search found 2 matches

by Vertebraille
09 Apr 2008 22:31
Forum: DOS Batch Forum
Topic: DOS dir /B: want to store evaluated output
Replies: 2
Views: 7472

solved!
used FOR /F %%a IN ('dir slx_opportunity*.txt /B') DO (SET thefilename=%%a).
by Vertebraille
09 Apr 2008 20:07
Forum: DOS Batch Forum
Topic: DOS dir /B: want to store evaluated output
Replies: 2
Views: 7472

DOS dir /B: want to store evaluated output

Hi, I've got to write a batch file at work which renames a file (slx_callhistory*.txt) to slx_callhistory.txt, calls an external app, then renames slx_callhistory back to what it was originally the problem i'm having is, i'm doing a dir slx_callhistory*.txt /B, and trying to set this output in a var...