for statement not working

Discussion in 'Software' started by rcmathen, May 18, 2004.

  1. rcmathen

    rcmathen Private E-2

    for /f "tokens=1,2 delims= " %%a in ("robert test") do echo %%a

    Output is only:
    robert

    I would like it
    robert
    test

    thanks for any help.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds