bonjour
j'ai crée un diaporama depuis xnview : photo.exe
ensuite j'ai fait une page index.html avec le lien:
<a href="foto.bat"><img src="photo.jpg" border="0" width="141" height="134" alt=""></a>
ainsi qu'un fichier foto.bat qui detectete automatiquement le lecteur cd
le tout mis sur un cd avec un autorun sur l'index.html
1 2 3 4 5 6 7 8 9 10
| @echo off
IF EXIST D:\rr.txt set CDROM=D:
IF EXIST E:\rr.txt set CDROM=E:
......
IF EXIST Y:\rr.txt set CDROM=Y:
IF EXIST Z:\rr.txt set CDROM=Z:
start %CDROM%\photo.exe
echo. |
le probleme c'est quand je clic sur le lien il m'affiche le fichier bat au lieu de le lancer
la je bloc. a tout les coups c'est une connerie mais ou elle est 
a+ gilles
Partager