Results 1 to 6 of 6

Thread: Start app.bat in fullscreen

  1. #1
    Join Date
    Mar 2010
    Posts
    191

    Start app.bat in fullscreen

    Hello,
    I am working with batch files and i want to know if I can run another batch file in an full screen mode. At the starting point it should not be in the full screen mode. After the script is been executed it should switch to the full screen mode. So, this is possible, if it is then please let me know. Thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Posts
    583

    Re: Start app.bat in fullscreen

    Hello,
    If I not wrong the batch files run in the command prompt window. So, this window can be set manually to full screen mode or the resolution what you need. Then what is the point of creating a script for that.
    If you need to change the resolution of the command prompt window then you can follow these steps
    Code:
    1. Open a cmd window
    2. Right click the title bar
    3. Check full screen on the Options tab
    4. Save settings
    I hope this will help you.

  3. #3
    Join Date
    Nov 2009
    Posts
    335

    Re: Start app.bat in fullscreen

    Hello,
    If you want this feature to try in a programmatic manner then you can use the following command in your script
    See below
    Code:
    mode 200
    You will have to add the this line at the start of your batch script, if you will add it in between the code then you will get undesired results. Also, if you are looking to switch between the normal command prompt window and the full screen window then you can use this short cut
    Code:
    Press ALT + Enter
    Hope the information was helpful for you.

  4. #4
    Join Date
    Nov 2009
    Posts
    446

    Re: Start app.bat in fullscreen

    Hello,
    See if the following code can help you
    Code:
    @echo off
    set /p pswd=<pswdword.dat
    set /p pswdword=Enter pswdword: 
    if %pswd%==%pswdword% goto correct
    exit
    :correct
    start file.bat
    exit

  5. #5
    Join Date
    Nov 2009
    Posts
    330

    Re: Start app.bat in fullscreen

    Hello,
    As you might being knowing now that if you need to run the batch file you need a command prompt window. If you need to do this by using the system programming then you can use the following line the the file, rather you can modify the file with the current line
    Here is the line which you have to modify
    Code:
    %windir%\system32\cmd.exe /k file_name
    Just right click on the file to make a shortcut and you will find a option for full screen mode, you have to check that option.

  6. #6
    Join Date
    Nov 2009
    Posts
    518

    Re: Start app.bat in fullscreen

    Hello,
    I have an alternate solution for doing the same. I directly set the envirnoment variable, that is to say
    Code:
    nm=Start /max %comspec%  /k file.bat
    The file.bat will have the code for the script. Now i create another batch file which will contain the content as follows
    Code:
    @echo off
    cls
    %nm%
    Now, watch this carefully, when you are going to click on the startup.bat batch file it will invoke the environment variable and this variable in turn will invoke the file.bat in the full screen mode.
    Have a look at the following code. This might work as well
    Code:
    Start /max file.bat

Similar Threads

  1. How to fullscreen Excel Worksheet
    By Calverta in forum MS Office Support
    Replies: 5
    Last Post: 27-01-2012, 07:12 PM
  2. How to run iCloud in fullscreen?
    By Mistaken in forum Technology & Internet
    Replies: 3
    Last Post: 13-06-2011, 11:33 PM
  3. Safari Fullscreen
    By Madaleno in forum Technology & Internet
    Replies: 6
    Last Post: 25-05-2010, 12:09 AM
  4. Fullscreen mode on Virtual PC.
    By Kanakpriya in forum Operating Systems
    Replies: 5
    Last Post: 02-04-2010, 04:32 AM
  5. fullscreen mode of dos box not possible
    By Rafal Kubiak in forum Vista Help
    Replies: 3
    Last Post: 29-05-2007, 06:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,141,631.59702 seconds with 17 queries