Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1365 connectés 

  FORUM HardWare.fr
  Programmation
  Shell/Batch

  Yop yop commande d'un .bat

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Yop yop commande d'un .bat

n°242992
EpoK
Let's burn
Posté le 11-11-2002 à 15:44:10  profilanswer
 

je cherche a fait un pti .bat ki encahien kelke commande dos, et je voulai savoir si il été possible d'entré un argument au clavier et quel été la syntaxe
 
vala merci

mood
Publicité
Posté le 11-11-2002 à 15:44:10  profilanswer
 

n°242998
kuroineko
je mamgerais bien un truc la..
Posté le 11-11-2002 à 15:52:34  profilanswer
 

EpoK a écrit a écrit :

je cherche a fait un pti .bat ki encahien kelke commande dos, et je voulai savoir si il été possible d'entré un argument au clavier et quel été la syntaxe
 
vala merci




 
oui
 
machi.bat titi toto atat
 
titi est l'argument $1
toto le $2
atat le $3
 
tout simplement


---------------
[:kuroineko] Francois.P tel: (+33)617230820 http://www.ifrance.com/fpussault  fpussault@caramail.com
n°243014
EpoK
Let's burn
Posté le 11-11-2002 à 16:16:22  profilanswer
 

kuroineko a écrit a écrit :

 
 
oui
 
machi.bat titi toto atat
 
titi est l'argument $1
toto le $2
atat le $3
 
tout simplement




 
 
humm c kom un shell script en fai

n°243017
EpoK
Let's burn
Posté le 11-11-2002 à 16:19:15  profilanswer
 

kuroineko a écrit a écrit :

 
 
oui
 
machi.bat titi toto atat
 
titi est l'argument $1
toto le $2
atat le $3
 
tout simplement




 
y me met $1,$2 au lieu des ragument donné :(

n°243066
lorill
Posté le 11-11-2002 à 17:06:54  profilanswer
 

remplace les $ par des %

n°243095
EpoK
Let's burn
Posté le 11-11-2002 à 17:33:44  profilanswer
 

lorill a écrit a écrit :

remplace les $ par des %




 
ya moyen de lui dire d'ouvrir un autre prompt ?

n°243111
EpoK
Let's burn
Posté le 11-11-2002 à 18:37:06  profilanswer
 

:sweat:

n°243144
kuroineko
je mamgerais bien un truc la..
Posté le 11-11-2002 à 20:31:23  profilanswer
 

EpoK a écrit a écrit :

 
 
ya moyen de lui dire d'ouvrir un autre prompt ?




 
desole j'oubliais que c'etait %...
et pour le prompt oui  
 
tu fais prompt $P$G habituel
tu remplace par $_$M$D aussi il me semble....voir google pour les fonctions moins connus


---------------
[:kuroineko] Francois.P tel: (+33)617230820 http://www.ifrance.com/fpussault  fpussault@caramail.com

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Shell/Batch

  Yop yop commande d'un .bat

 

Sujets relatifs
probleme avec la commande mount_cd9660Probleme de commande
[MySQL] Ca existe ce genre de commande ? :[Postgres] commande linux
euh la commande cd (en shell) en appels systeme, ça donne quoi?[MYSQL] Comment récupérer les ID de champs via une requête / commande
me rappelle plus de 2 commande tres simple en CCommande PHP (sous Windows) pour afficher fréquence CPU...
Commande DOS 
Plus de sujets relatifs à : Yop yop commande d'un .bat


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR