Cherche Commande .Bat

Résolu/Fermé
Ycc - 10 avril 2013 à 13:16
 Ycc - 10 avril 2013 à 14:57
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
A voir également:

2 réponses

[Dal] Messages postés 6174 Date d'inscription mercredi 15 septembre 2004 Statut Contributeur Dernière intervention 2 février 2024 1 083
Modifié par [Dal] le 10/04/2013 à 13:31
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
Merci sa fonctionne
1