rem---------------------------------------------------- rem CHECKEX.BAT - Scans the path for a program name. rem---------------------------------------------------- @echo off SET index=1 if exist %1.com echo %1.com if exist %1.exe echo %1.exe if exist %1.bat echo %1.bat :loop STRINGS pdir = PARSE %path%, %index%,; IF . == .%pdir% GOTO exit if exist %pdir%\%1.com echo %pdir%\%1.com if exist %pdir%\%1.exe echo %pdir%\%1.exe if exist %pdir%\%1.bat echo %pdir%\%1.bat STRINGS index = ADD %index%, 1 GOTO loop :exit SET index= SET pdir=
file: /Techref/DOS/command/strings/CHECKEX.BAT, 0KB, , updated: 1992/11/11 21:42, local time: 2024/11/22 09:27,
3.144.6.29:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/DOS/command/strings/CHECKEX.BAT"> DOS command strings CHECKEX</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.