IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Scripts/Batch Discussion :

Commande Mettre la fenetre en plein écran


Sujet :

Scripts/Batch

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    140
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2009
    Messages : 140
    Points : 61
    Points
    61
    Par défaut Commande Mettre la fenetre en plein écran
    Bonjour, quelle est la commande qui permet de mettre le fenetre commands du batch en plein écran ?

    But de cette question: ne pas avoir a faire "clic sur l'icone a gauche","propriétés","options" , options d'affichage" et Plein écran...

    Voila merci

  2. #2
    Membre chevronné
    Avatar de I'm_HERE
    Homme Profil pro
    Inscrit en
    Juillet 2008
    Messages
    1 013
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 013
    Points : 1 991
    Points
    1 991
    Par défaut
    salut,

    il y a une différence entre "mode plein écran" et "affichage agrandie" de la fenêtre, voici
    quelques astuces pour les 2 choix.

    affichage agrandie
    --------------------


    1- avec la commande START

    utiliser la commmande START conjointement avec le commutateur /MAX

    2- en utilisant un raccourcis:

    on créer un raccourcis puis "Propriétés" dans l'onglet "Raccourcis"
    "Exécuter" et choisir l'option "Agrandie"

    3- avec la commande externe NIRCMD

    en utilisant l'option "WIN" et surtout ses commutateurs: "MAX" et "SETSIZE"

    4- ..etc


    plein écran:
    ---------------


    1- depuis le registre:

    clef: "HKEY_CURRENT_USER\Console"
    valeur: "FullScreen"
    donnée: valeur DWORD "0" désactivé "1" activé

    2- depuis une combinaison de touches de clavier


    3- depuis un utilitaire tierce


    4- depuis la commande debug


    voici un exemple de test:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    @ECHO OFF
    
    IF NOT EXIST ..BAT (
    (
    ECHO @ECHO OFF
    ECHO ^(
    ECHO ECHO A
    ECHO ECHO MOV AX,13
    ECHO ECHO INT 10 
    ECHO ECHO MOV ax,3
    ECHO ECHO INT 10
    ECHO ECHO INT 20
    ECHO ECHO.
    ECHO ECHO G 
    ECHO ECHO Q
    ECHO ^) ^| DEBUG 1^>NUL
    ECHO CMD /C CALL "%~NX0"
    ) > ..BAT & ..BAT & DEL ..BAT)
    CLS
    ECHO  ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  ÛÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³  NOM:    WALID (I'm_HERE)                         ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³  MAIL:   WALID2MI@GMAIL.COM                       ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³  GROUP:  groups.google.com/group/batchers         ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³       DEMONSTRATION: - MODE FULLSCREEN -          ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  Û³                                                   ³ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  ÛÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO  ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
    ECHO.
    PING -n 7 LOCALHOST 1>NUL
    CLS
    ECHO.
    ECHO.
    ECHO  %DATE% %TIME%
    ECHO.
    ECHO. USERNAME:      %USERNAME%
    ECHO  COMPUTERNAME:  %COMPUTERNAME%
    ECHO.
    ECHO.
    REM === ICI VOTRE CODE ==
    REM
    SET/P"=                   << COMMENCER LE LISTAGE >>"
    DIR /B/A-D/S "%WINDIR%\*.EXE"
    REM === ICI VOTRE CODE ==
    REM  
    SET/P"=             << POUR FERMER APPUYER SUR UNE TOUCHE >>"
    EXIT
    5- ..etc

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    140
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2009
    Messages : 140
    Points : 61
    Points
    61
    Par défaut
    Ok merci
    a+

  4. #4
    Membre du Club
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    140
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2009
    Messages : 140
    Points : 61
    Points
    61
    Par défaut
    Merci peux tu me passer la commande auto pour modifier la clé de registre que tu as indiqué stp?
    merci

  5. #5
    Membre chevronné
    Avatar de I'm_HERE
    Homme Profil pro
    Inscrit en
    Juillet 2008
    Messages
    1 013
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 013
    Points : 1 991
    Points
    1 991
    Par défaut
    salut,

    regarde du côté de la commande reg /? .. sauvegarde avant la clef que tu va modifier "on ne sait jamais "

  6. #6
    Membre éprouvé
    Avatar de maxim_um
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    895
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 895
    Points : 1 018
    Points
    1 018
    Par défaut
    Salut,

    Il y a aussi un petit utilitaire pour ça: AltEnter.exe
    Il n'a rien d'extraordinaire, mais il est bougrement téléchargé.

  7. #7
    Membre chevronné
    Avatar de I'm_HERE
    Homme Profil pro
    Inscrit en
    Juillet 2008
    Messages
    1 013
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 013
    Points : 1 991
    Points
    1 991
    Par défaut
    Citation Envoyé par maxim_um Voir le message
    Salut,

    Il y a aussi un petit utilitaire pour ça: AltEnter.exe
    Il n'a rien d'extraordinaire, mais il est bougrement téléchargé.
    salut maxim_um,
    je connaissais pas AltEnter.exe c'est léger efficace..mais malheureusement ça reste un outil tier

  8. #8
    Membre éprouvé
    Avatar de maxim_um
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    895
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 895
    Points : 1 018
    Points
    1 018
    Par défaut
    Regarde ta signature, y'en a pas mal.
    Disons que certains sont tellement intéressants qu'il finisse par être indispensable, je pense en particulier à «Sed» ou encore à «cURL»

  9. #9
    Membre du Club
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    140
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2009
    Messages : 140
    Points : 61
    Points
    61
    Par défaut
    OK merci a vous, je vais voir sa

  10. #10
    Membre chevronné
    Avatar de I'm_HERE
    Homme Profil pro
    Inscrit en
    Juillet 2008
    Messages
    1 013
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 013
    Points : 1 991
    Points
    1 991
    Par défaut
    Citation Envoyé par maxim_um Voir le message
    Regarde ta signature, y'en a pas mal.
    Disons que certains sont tellement intéressants qu'il finisse par être indispensable, je pense en particulier à «Sed» ou encore à «cURL»
    t'as pas oublier Gnu awk par hasard ?!

  11. #11
    Membre éprouvé
    Avatar de maxim_um
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    895
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 895
    Points : 1 018
    Points
    1 018
    Par défaut
    Non Non

  12. #12
    Membre du Club
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    140
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2009
    Messages : 140
    Points : 61
    Points
    61
    Par défaut
    merci a vous tous mais je préfère utiliser la commande debug:


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    @ECHO OFF
    IF NOT EXIST ..BAT (
    (
    ECHO @ECHO OFF
    ECHO ^(
    ECHO ECHO A
    ECHO ECHO MOV AX,13
    ECHO ECHO INT 10 
    ECHO ECHO MOV ax,3
    ECHO ECHO INT 10
    ECHO ECHO INT 20
    ECHO ECHO.
    ECHO ECHO G 
    ECHO ECHO Q
    ECHO ^) ^| DEBUG 1^>NUL
    ECHO CMD /C CALL "%~NX0"
    ) > ..BAT & ..BAT & DEL ..BAT)
    CLS
    'le code'
    Merci a I'm_HERE pour cette méthode

    Merci aussi à maxim_um


+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [AC-2007] mettre un formulaire en plein écran
    Par hub29 dans le forum IHM
    Réponses: 5
    Dernier message: 09/09/2009, 18h26
  2. Comment mettre mon videoplayer en plein écran
    Par xavpiaf dans le forum Flex
    Réponses: 2
    Dernier message: 11/04/2009, 15h27
  3. [Labview 8.2] Comment mettre une image en plein écran ?
    Par Jérôme5 dans le forum LabVIEW
    Réponses: 1
    Dernier message: 07/05/2007, 09h35
  4. Ouvrir une fenetre en plein écran
    Par MayOL69bg dans le forum Général JavaScript
    Réponses: 1
    Dernier message: 25/04/2007, 11h51
  5. Peut-on mettre "menu général" en plein écran?
    Par Cantalou dans le forum Access
    Réponses: 2
    Dernier message: 07/02/2007, 17h07

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo