restore cmd window

P

powtrix

Hi.
Each logon in my network (samba) the XP loads the cmd window
minimized, ok/normal. Is possible to log on and restore the cmd window
for users read & see what is processing? if possible with centralized
window.
I dunno if it is possible with vbs, BTW I dunno that.
thanks.
 
H

Herb Martin

powtrix said:
Hi.
Each logon in my network (samba) the XP loads the cmd window
minimized, ok/normal. Is possible to log on and restore the cmd window
for users read & see what is processing? if possible with centralized
window.
I dunno if it is possible with vbs, BTW I dunno that.
thanks.

We don't know what is starting your CMD window now. Perhaps
a shortcut in the Startup group or something similar....?

If you had it changed to use "Start /Max" in front of the command that
invokes the cmd window then is SHOULD open Maximized:

start /max CMD

I am unsure if that is what you are asking but it seems to answer your
post.
 
P

powtrix

We don't know what is starting your CMD window now. Perhaps
a shortcut in the Startup group or something similar....?

If you had it changed to use "Start /Max" in front of the command that
invokes the cmd window then is SHOULD open Maximized:

start /max CMD

Hi Herb.
So, my network there are Samba as server and Win9x/XP as clients.
the network script is from netlogon, a file in /home/
netlogon/"%username%.bat"

After that any user type your username/password on Logon Windows
domain, the own "user.bat" do "call stuff.bat", but only on XPs the
"user.bat" loads minimized, on Win9x its centralized (normal).

The script its working fine, I´m justing finding a way to loads this
stuff.bat or the proper user.bat not minimized on XPs.

using start/max doesn't work in this case, because the stuff.bat is on
each user batch (+300 users - Please i dont want to re-write all
them)..

does exist an internal command to "get up" his own window?
like that (on stuff.bat):
IF "%OS%"=="Windows_NT" restore ($MeWindow);

Thanks anyway.
 
H

Herb Martin

We don't know what is starting your CMD window now. Perhaps
a shortcut in the Startup group or something similar....?

If you had it changed to use "Start /Max" in front of the command that
invokes the cmd window then is SHOULD open Maximized:

start /max CMD

Hi Herb.
So, my network there are Samba as server and Win9x/XP as clients.
the network script is from netlogon, a file in /home/
netlogon/"%username%.bat"

After that any user type your username/password on Logon Windows
domain, the own "user.bat" do "call stuff.bat", but only on XPs the
"user.bat" loads minimized, on Win9x its centralized (normal).

Start it /max if you wish.
The script its working fine, I´m justing finding a way to loads this
stuff.bat or the proper user.bat not minimized on XPs.
using start/max doesn't work in this case, because the stuff.bat is on
each user batch (+300 users - Please i dont want to re-write all
them)..

They really should be the SAME command (if they have the same
contents, or even mostly the same contents). Each bat should
call a "stock batch" file for the majority of the processing with the
user specific "wrapper" setting up everything that is user specific,
perhaps by using environment variables.
does exist an internal command to "get up" his own window?
like that (on stuff.bat):
IF "%OS%"=="Windows_NT" restore ($MeWindow);

Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top