Cherche Commande .Bat

Résolu
Ycc -  
 Ycc -
Salut,
Je Cherche comment ajouter a ma petite programmation une fenêtre qui souvre avec un message personnaliser

Mon Programme:

@echo off
explorer.exe http://google.fr/
exit

je Pense que il faut surement ajouter une commande mais la quell ?

MERCI DAVANCE

2 réponses

  1. [Dal] Messages postés 6122 Date d'inscription   Statut Contributeur Dernière intervention   1 108
     
    Salut Ycc,

    Tu peux faire ceci en envoyant des commandes Powershell à l'interpréteur Powershell :

    powershell.exe -command "[System.Reflection.Assembly]::LoadWithPartialName(\"System.Windows.Forms\"); [System.Windows.Forms.MessageBox]::Show(\"Mon message\")" 


    Dal
    1