title: TCL finding specific file on c:/
body: <p>i want to search after a code which search a file called hw.exe on my hdd.</p>
  
  <p>i have found this following code:</p>
  
  <pre><code>set files [glob hw.exe]
      set sofar -1
  
      foreach f $files {
              set size [file size $f]
              if {$size &gt; $sofar} {
                      set sofar $size
                      set name $f
                      }
              }
  
      puts "Biggest files is $name at $sofar bytes"
  </code></pre>
  
  <p>Has anybody one idea to correct this? Or is there a function?</p>