1.

Solve : Simple Question: How to delete a " ??

Answer»

Anyone can help in this?
NEED to Delete a " in a text file.
Its hard fpr me as i need to use "Tokens=* Delims=" in a for loop.
Or i should ask how to FIND a " and delete it as Find """ "File.txt" ?

simonchin79

Try this:
[edit]for /f "delims=" %%a in (File.txt) do (
set "ln=%%a"
call ECHO.%%ln:"=%%
)[/edit]
DOS IT HELP? Would like to THANKS you, quite busy recently.

Yes it WORKS, but how you find out this "ln=%%a" ?
I only found something like %%~i from For command.
Can share abit?



Discussion

No Comment Found