How I open Vim/Command Prompt maximized from Windows Run (Win + R)?
I have tried the below for vim but it does not work, I tried
vim /max C:\Users\USERNAME\Desktop\test.txt
I know you can set it to open as a shortcut in the properties, but I believe when I do it this way via 'Windows Run' ideally I am looking at starting it maximised this way via the vim.exe? Is this possible, even if its command based in Run it will be enough, or by adding a .bat file to path and doing it this way, would work? If so how exactly, as in what batch code?
Windows Version is:
Windows 10 Home
Update I tried this as a workaround as a .bat file but it does not open anything at all:
: Input I am entering below when prompted:
SET /P dirVar=Please enter a directory and file name to open it in Vim:
IF "%uname%"=="" GOTO Error
ECHO start /max vim %uname%
ECHO You did not enter a file name!