Computing.Net > Forums > Windows NT > quotes as delims in for statement

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

quotes as delims in for statement

Reply to Message Icon

Name: Atle Ruud
Date: August 29, 2002 at 13:42:10 Pacific
Comment:

Hi.

I'm parsing av textfile in my CMD script and I need to have quotes (") as a delims, but how do I do that?

file.txt:
row1"and row 2"row3
row1"and row 2"row3
row1"and row 2"row3

for /f "delims=" tokens=2" %%i in ('type file.txt) do echo %%i

Clearly "delims=" gives me trouble...

Anyone?

@le



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: quotes as delims in for statement

WinNT as a Router for Internet Sharing? www.computing.net/answers/windows-nt/winnt-as-a-router-for-internet-sharing/5381.html

Creating Dir in NT with date as suffix www.computing.net/answers/windows-nt/creating-dir-in-nt-with-date-as-suffix/15188.html

Passing date as variable in FTP script www.computing.net/answers/windows-nt/passing-date-as-variable-in-ftp-script/9672.html