logon.bat start minimized
Moderator: DosItHelp
logon.bat start minimized
I've made a logon script ( logon.bat) , but it starts minimized ...
i want logon.bat starts automatically open on the desktop of the user...
so the user can read the message directly from his /her screen...
who can help me ?
Thanks in advance !
i want logon.bat starts automatically open on the desktop of the user...
so the user can read the message directly from his /her screen...
who can help me ?
Thanks in advance !
Re: logon.bat start minimized
I mean ; how can i start a dosbox open , but not minimized on the taskbar ?
Re: logon.bat start minimized
Change the properties of the batch file.
Re: logon.bat start minimized
How you start your batch file? using what? schedule task, startup folder, ..etc
Re: logon.bat start minimized
The logon.bat file starts automatically when a user logs in on his workstation.
The logon.bat file will be activated via a GPO on a winows server 2008 sr2.
It is located in the Netlogon share on the server 2008sr2.
Logon.bat starts well , but i want it's "open"on the desktop of the user.
Now it's minimized on the taskbar....
who knows a solution ...?
Thanks in advance.
The logon.bat file will be activated via a GPO on a winows server 2008 sr2.
It is located in the Netlogon share on the server 2008sr2.
Logon.bat starts well , but i want it's "open"on the desktop of the user.
Now it's minimized on the taskbar....
who knows a solution ...?
Thanks in advance.
Re: logon.bat start minimized
have you tried what foxidrive said?
If it possible try posting the code or search the file for "/MIN" if it is there try removing it.
and when i asked how it's start i was meaning what make it start, because it is in a start up folder or it run on specific time using schedule task ? because on of them may have the "/MIN" option or something similar.
If it possible try posting the code or search the file for "/MIN" if it is there try removing it.
and when i asked how it's start i was meaning what make it start, because it is in a start up folder or it run on specific time using schedule task ? because on of them may have the "/MIN" option or something similar.
Re: logon.bat start minimized
Thanks for your reply anyway. Yes i've tried what foxidrive suggested , but alas it still starts minimized. I also tried to put "start /max" in the logon.bat file , but this was also not the solution because an empthy dosbox started maximized but not the logon.bat.
Logon.bat starts from the netlogon share on the server 2008sr2.
Here is the contents of logon.bat ;
@echo off
conio.h.
color 17
mode 60,20
echo.
echo Hello , %username% , how are you today ?
echo Your workstation name is %computername% ...
echo.
echo Have a pleasant day !
echo.
echo.
echo.
echo.
@pause > nul imo:no
Logon.bat starts from the netlogon share on the server 2008sr2.
Here is the contents of logon.bat ;
@echo off
conio.h.
color 17
mode 60,20
echo.
echo Hello , %username% , how are you today ?
echo Your workstation name is %computername% ...
echo.
echo Have a pleasant day !
echo.
echo.
echo.
echo.
@pause > nul imo:no
Re: logon.bat start minimized
it should be used to launch the batch file not to put it in the batch fileI also tried to put "start /max" in the logon.bat file
something like this in cmd window:
Code: Select all
start "title_for_the_window" /Max "C:\logon.bat"
sorry if i'm missing something here but i never used dosbox before.
If you just want to display information to the user try this it might work for you
Code: Select all
@Echo off
Msg * Hello , %username% , how are you today ?
Msg * Your workstation name is %computername%
Msg * Have a pleasant day !
Exit /B
Re: logon.bat start minimized
Thanks a lot ; abc0502.! I've use'd your script because it's more logic.