1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Logon Script

Discussion in 'Legacy Windows' started by quackbal, 2003/11/01.

Thread Status:
Not open for further replies.
  1. 2003/11/01
    quackbal

    quackbal Inactive Thread Starter

    Joined:
    2003/06/08
    Messages:
    227
    Likes Received:
    0
    On my Windows 2000 computers, I have a logon script that runs.

    I want users to know that the logon scripts are executing, but is there anyway so you only see the title bar, ie you don't actually see the command prompt, but you see it "minimized" in the corner? As long as they know that the script is running, all is well.
     
  2. 2003/11/01
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    How about setting the colors all the same so the window shows but no way to see what is running? White foreground and white letters or black and black will hide what is happening.

    You could even /S (echo on) and include a message "script running - please wait" before using the /T:fg switch.

    Assuming you are using 2K or XP, take a look at the cmd options and the /color options.
     
    Newt,
    #2

  3. to hide this advert.

  4. 2003/11/01
    quackbal

    quackbal Inactive Thread Starter

    Joined:
    2003/06/08
    Messages:
    227
    Likes Received:
    0
    Thank you for the suggestion; but doesn't that mean I'll have to keep changing the settings when I (and my users) want to use the command prompt for something?

    I've seen it before; the command prompt ran minimised on startup.
     
  5. 2003/11/01
    Logik007

    Logik007 Inactive

    Joined:
    2003/10/04
    Messages:
    93
    Likes Received:
    0
  6. 2003/11/01
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    but doesn't that mean I'll have to keep changing the settings when I (and my users) want to use the command prompt for something

    Oops - my bad. You can easily change back to the color combination you had when the cmd window started by simply putting in the command COLOR. But trying to set both foreground and background to the same value gives an error. There may be a way to code around it but by default, ERRORLEVEL 1 is returned.
     
    Newt,
    #5
  7. 2003/11/01
    quackbal

    quackbal Inactive Thread Starter

    Joined:
    2003/06/08
    Messages:
    227
    Likes Received:
    0
    Thank you. :)...
    Just wondering how it was done before - the logon script was "visible ", but minimised.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.