@echo off; @record on; `dir "$argv[1]"`; @record off; string $blah = GetCmdData("name"); if (defined $blah) { return true; } else { return false; }