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
Post a Comment