I'm just a beginner (maybe like a butcher) before and I've been fighting for so long ( I 've got some suggestions and tried to do them, but none of them can work - maybe ui) I have a file on Windows 2003 machine that I created with a batch file (dir_list.txt) Which looks like:
"t001wp" "w003th" "b005ku" "k009dp". . . I want to erase double quotation marks Thanks in advance for any help.
Search for help with "for" and the answer is near %% ~ I Automatically bar the quotes If the quoted text has empty spaces, you will need to use "token = *" to capture the entire string in quotation marks. Hope this will be helpful.
@echo off for / f "tokens = *" %% i in (x) docho %% ~ i
Comments
Post a Comment