How to show spaces in CMD?

خرید بک لینک

So I wanted my cmd to select random sentences.

set /a d=%random%%%5 for /f "tokens=1,2" %%a in (list.txt) do if %d%==%%a echo %%b

Im using this but inside the list.txt file I have sentences with spaces. For some reason cmd only shows the first word and it doesnt with the rest.

For example a sentence in the file. Hello how are you?

This would show as Hello and that's all.

But if I type it like this Hello_how_are_you? then it does show all the words but it does include all the _'s
any idea how to make the spaces show without replacing them with signs?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 203 تاريخ: يکشنبه 6 تير 1395 ساعت: 18:36

صفحه بندی