cpfts
asked on
Active Directory - Login Script HELP!
Hi All -
We want to add some code in a login script to call a pop-up picture when people login to their computer. Anyone know some good scripts for this?
Thanks!
We want to add some code in a login script to call a pop-up picture when people login to their computer. Anyone know some good scripts for this?
Thanks!
ASKER
what about a pop-up html page?
dim objShell:Set objShell=CreateObject("Wsc ript.Shell ")
objShell.Run "somefile.html"
might work...
objShell.Run "somefile.html"
might work...
ASKER
did not work
how about:
objShell.Run "start somefile.html"
or
objShell.Run "iexplore somefile.html" 'though that one will launch IE - not the default browser.
objShell.Run "start somefile.html"
or
objShell.Run "iexplore somefile.html" 'though that one will launch IE - not the default browser.
ASKER
ie is fine. Thanks for your help too. Do you know of a way to size the window?
ASKER
this is running from a .bat in a login script too. - just fyi
Oh - then in a batch file:
start /max myfile.html
or
start /max iexplore myfile.html
start /max myfile.html
or
start /max iexplore myfile.html
ASKER
here is what i have so far:
@echo off
objShell.Run "\\servershare\sharedfolde r\testy\Te st.html"
cls
exit
It does not work like that but it does with "start" in front of the path...
@echo off
objShell.Run "\\servershare\sharedfolde
cls
exit
It does not work like that but it does with "start" in front of the path...
try my last post - you don't need to mix the vbs and bat solutions..
ASKER
how do i set a certain size and eliminate toolbar/url etc....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Iexplore -K
ah - tomato/tomAHto... hee hee...
:0)
Actually right word = right answer. Wrong word = wrong *soup* (tomato soup).... hee hee....so it should be tomato not tomAHto....
Actually right word = right answer. Wrong word = wrong *soup* (tomato soup).... hee hee....so it should be tomato not tomAHto....
Picture of what?