login script : Java Glossary

go to home page L words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 2007-06-02 Roedy Green, Canadian Mind Products
login script
W95/W98/Me/NT has a similar concept to DOS/Win 3.1/W95/W98/Me autoexec.bat called a login script. This is executed when a user logs on. You set these up on a per user basis with start ⇒ Control Panel ⇒ users and passwords ⇒ advanced ⇒ advanced ⇒ users ⇒ Administrator ⇒ properties ⇒ Profile ⇒ profile path ⇒ profile script. There is no equivalent script to autoexec.bat that runs for all users when the system boots. There is no point is doing set commands in a login script since they will be lost. You must configure set parameters for the system and for each user with start ⇒ settings ⇒ Control Panel ⇒ system ⇒ environment. You might but a SUBST J: E:\ command in your login bat file.

Store your *.bat files for the scripts in C:\winnt\system32\repl\import\scripts

Vista

Login Scripts don’t seem to be supported on Vista Home Premium. Presumably they exist in some form in the more expensive editions. Please pass on instructions on how to set them up.

Instead create a shortcut to your *.bat file, click Start ⇒ All Programs ⇒ Startup ⇒ right click Open ⇒ drop the shortcut you want to run on startup into the folder. However, Vista is flaky. These shortcuts may or may not be run on the next reboot. They may work for a while then mysteriously stop working. It is the Vista way,

First there is a mountain then there is no mountain, then there is.
~Donovan (born: 1946-05-10 age: 63)

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/loginscript.html J:\mindprod\jgloss\loginscript.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.106]
You are visitor number 23,116.