Making Batch for /f code work propely -


This is my file trying to read the host file For some reason, this is not working properly Try the code yourself to see error messages. For

  @echo off cd% windir% / System32 / drivers / etc / f "eol = # tokens = * delims =," %% (% windir% / System32 / drivers / etc / hosts) type %% one paused & gt; Null    

type hope for a file name This means echo was another issue, the host file is not a comma, but if the white space is different then you will need to include your placements and tabs, assuming you only hostname Want to

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -