ZTree.com  | ZEN  | About...  

 Index   Back

[Q] is there a way to preserve spaces by running a script?   [Q]

By: Nick Williams     West Sussex, England  
Date: Aug 20,2017 at 17:19
In Response to: [Q] is there a way to preserve spaces by running a script? (Ryan)

> 1.txt is a simple text file.
> when i run the script, it trims the front spaces like AA= in ECHO %%%V
> is there a way to preserve spaces by running the script?
>
Yes, use "DELIMS=" instead of "TOKENS=*".

Remember, Google is your friend and in your case, so are the following:-

CMD /?
IF /?
FOR /?
SET /?
CALL /?
etc.


Kind regards
Nick

806 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 64 users online (0 registered, 64 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 10:30 pm UTC  |  Hits:62,382,412  (34,809 Today )
RSS Feed