Spaces In Text Document Name Through Batch User Input -


i trying make "ai". functions making file , naming after user input, asking when input put in again. but, when add space, names after first word, , doesn't allow called next time!

here part learns user input:

:learn cls echo don't know "%cat%". can tell me know. echo. set /p catinfo=tell me know: echo %catinfo% >> brain\%cat%.txt set txt=that's cool, know. ( echo %name% ) > vf2.txt set txt=cool know %cat%. cls goto startup 

and reads text document:

:learned ( set /p catinfo= ) < brain\%cat%.txt set txt=%catinfo% color e echo %catinfo% %speech% "%catinfo%" color ping 1.1.1.1 -n 1 -w 3000>nul cls goto startup 

i wanted user able use spaces talk computer. sorry pretty simple question, more streamline using underscores.

thanks!

-simon


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -