Professional Documents
Culture Documents
Bat File Find Application On Any Drive
Bat File Find Application On Any Drive
IF EXIST I%foldr% IF EXIST J%foldr% Goto None GOTO GOTO GOTO GOTO GOTO GOTO GOTO 1 2 3 4 5 6 7
:1 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=D%foldr% GOTO Run exit :2 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=E%foldr% GOTO Run exit :3 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=F%foldr% GOTO Run exit :4 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=G%foldr% GOTO Run exit :5 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=H%foldr% GOTO Run exit :6 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=I%foldr% GOTO Run exit :7 Echo Launching C%foldr% PING 1.1.1.1 -n 1 -w 3000 >NUL SET finallocation=J%foldr% GOTO Run exit :None Echo nothing worked pause exit
:Run start "" %finallocation%"\Lupo Advanced\Lupo PenSuite v6.74 Full\Apps\Key Launch \keylaunch.exe"