I have like a log.txt file which contains:
MyName
My batch:
@echo off
set name= [log.txt]
in the [log.txt] part, it should read ‘MyName’ from the log.txt file, to set it as ‘name’.
How?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can also use
which might be considered shorter and a little less ugly.