Sorry learning command prompt and need assistance. Is there a command for:

TYPE the contents of all the E**01 files in a folder and redirect the output (>) to create a file in the "expenses" folder called All01.txt

for /f %a in ('dir /b E??01.*') do @type %a >> Expenses\All01.txt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.