1.

Solve : for in working kinda funky (file not found)?

Answer»

then again i have little xp in working with command line
i need some help figuring out how to get a command line to work

i've got
Code: [Select]c:\FSB\for /f %f in ('dir /b c:\allfiles') do fsb_aud_extr.exe %f
the command READS the 'allfiles' folder files (they appear in the errors anyway) so why the error that says it doesn't find the files?
Code: [Select]c:\fsb>fsb_aud_extr.exe audio1.fsb
file not found.
that error above is for one file,
the for in loop tosses that error for each file in the 'allfiles' folder
am i targeting the 'allfiles' incorrectly?

edit:ah! i was!
i thought the dir would attach itself to the end %f but it doesn't
we need to manually set the directory in the last %f

cheers!
Quote

am i targeting the 'allfiles' incorrectly?

edit:ah! i was!
i thought the dir would attach itself to the end %f but it doesn't
we need to manually set the directory in the last %f

Glad to hear your figured it out and also welcome to COMPUTER hope.


Discussion

No Comment Found