login script : Java Glossary

login script
W95/W98/Me/NT has a similar concept to DOS/W3.1/OS2/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: 67)

CMP homejump to top

available on the web at:

http://mindprod.com/jgloss/loginscript.html
  

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\loginscript.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[54.224.79.93]
You are visitor number 28,651.