Computing Staff
  • 2

/F Was Unexpected At This Time

  • 2

I’m very new at DOS, so sorry if this is not too bright.

I want to grab strings from one file and compare them to strings in a second file. Then remove strings that match from the second file.

for /F “delims=+” %%x in (%safefile%) DO (
for F/ “delims=+” %%y in (%tmp_keyword_file) DO (
if %%y == %%x change.com “%%y” “”
)
)

I get /F was unexpected at this time.

Help!
Thanks!

Share

1 Answer

  1. Let’s do a little bit of spell checking.

    —-
    for F/ “delims=+” %%y in (%tmp_keyword_file) DO (
    —-

    Does that look right to you?

    Can I put a question here?

    • 0