Link to home
Start Free TrialLog in
Avatar of Castlewood
Castlewood

asked on

What batch command parameter should I use for opening an Excel file in minimized window?

I need to use a batch file to open an Excel file and put it in a minimized window. What parameters should I use?
ASKER CERTIFIED SOLUTION
Avatar of Aland Coons
Aland Coons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This can be used to launch any number of applications minimized you just to adjust the path to match the executable:

start /min "" "C:\Windows\system32\notepad.exe"
Avatar of Castlewood
Castlewood

ASKER

But I need to open a specific existing Excel file. Should I put the file name inside the double quotes?
Alan,

Thank you but I tested and found It works on notepad but not on Excel. For example,

Start /min c:\test.txt
will open the test.txt file in a minimized window but
Start /min c:\test.xlsx
will NOT open the text.xlsx in a minimized window.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial