General discussion

  • Creator
    Topic
  • #2317039

    execute .exe file

    Locked

    by k4k ·

    how do i execute a .exe file without using its full filename. for EG: i want to execute antivirus dat file sdat4281.exe using the key sdat*.exe

All Comments

  • Author
    Replies
    • #2740186

      execute .exe file

      by jackofalltech ·

      In reply to execute .exe file

      If it is the only one in the folder, the following batch file should work


      @Echo
      Off
      Dir /b sdat*.exe > tmp.bat
      Call tmp
      Del tmp.bat

      Ralph

Viewing 0 reply threads