title: Loop until file exists using windows batch command
body: <p>how can i convert following code into windows batch command?</p>
  
  <p>Here is a perl script which is searching for a file in a while loop, if found it Exits.</p>
  
  <pre><code>use strict;
  use warnings;
  my $filename = 'something.txt'; 
  while (1) {
  
  if (-e $filename) {
  print "File Exists!";
     exit;
     }
  
  }
  </code></pre>