Discussion Locked

execute .exe file

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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

1 reply

by jackofalltech

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

This discussion is closed to new replies.