Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to make a batch file that when it opens it goes fullscreen, or if that is not possible at least be a bit bigger than it's default.
Try this
mode con lines=32766
This will change the buffer-size and also will make it full screen in terms of heights.
You can use the following
mode con: cols=[YourValue] lines=[YourValue]
Create a shortcut.
Go to Properties and adjust the size, colour, layout and other things...
Or do you mean when it runs...??
So..
mode con: cols=100 lines=40
doesn't work for you? Does for me (Win7)
use the start command :
start "" /MAX "cmd /K c:\temp\test.bat"
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I was wondering how I could see the actions that are done on my computer but on my cmd prompt.
For example: Imagine I click on the shortcut Google Chrome on my desktop, then this will appear on my cmd prompt (or anywhere else):
C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe
modulo the - and -- arguments but that was just for the example.
Thanks!
Try Process Monitor (also called ProcMon), filtered on ProcessCreate. It'll list every process that gets created, along with the arguments and lots of other useful information.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I don't want the window title name of the command line to change. When i make shortcut or open it in different location, window title name of cmd is changing. How can i stop it?
Thanks.
In short: you can't. CMD.EXE internally calls SetConsoleTitle (or some equivalent), and there isn't an option to stop it from doing so.
What you can do is manually reset the title after each command (for example when you run a batch file with multiple commands inside and want to end up with some specific title). Use the title command to do so from within a batch file or from the command prompt interactively.
(There are also more involved options, but they all have quirks.)
I think some console alteratives (like Windows Terminal or ConEmu) let specify that the title should not change, but I'm not sure, you'll have to try.
Maybe clarify your question with what you are really trying to achieve, or why the changing title is an issue for you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
When restart Windows, some tray icons were missing.
Is there a command to redraw trayIcon or prevent they missing ?
Try these DOS command:
%windir%\system32\taskkill.exe /IM explorer.exe /F
start %windir%\explorer.exe
Or make a batch file.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
How can I open a program always in 600x400? When I restart the computer I don't wanna configure again, how can I do this?
Observation: My resolution is 1920x1080 and I wanna open the program in 600x400 without change my resolution.
Sorry for my english, I don't speak very well this language.
It depends on the program you want to open.
Some programs have a specific setting for this case.
Take a look on the documentation, or you can try to go to Regedit and look for the Key of program that you want to start with 600x400.
In the Key HKEY_LOCAL_MACHINE\Software\(CompanyName)\(SoftwareName)
Normally there is some settings about size of the window.
Good luck.
To change your display resolution from the command line - try the free nircmd.exe from http://www.nirsoft.net/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm using gnome-shell with Ubuntu 11.10. At the left edge there is menu with icons. Where can I edit the command that is launched after clicking them? For example, there is gvim icon and I want it to start with -geometry flag. I assume it is in some config file, but where?
To add startup arguments you have to modify the Exec parameter of the .desktop file. The gvim.desktop file is in
/usr/share/applications/gvim.desktop
Add the arguments you need to the line.
Exec=gvim -f %F
This will affect all users on your system. If you want a custom launcher file you can create a .desktop file in ~/.local/share/applications.