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 -

php - How can I cram 6+31 numeric characters into 22 alphanumeric characters? -

mysql - where clause in inner join query -