#33545 - 2002-11-26 02:14 PM
Need Help With This One!!
|
mhannan13
Lurker
Registered: 2002-11-26
Posts: 4
Loc: England
|
I have put together a script that connects the users correct group and private drives at login, If any drives are missing, the script then runs a visual notification on the screen telling them that '******' is not connected. What i would like to do is be able to send this visual notification to a Dir. for storage.
Any help or advice would be greatly appreciated.
|
Top
|
|
|
|
#33548 - 2002-11-26 02:20 PM
Re: Need Help With This One!!
|
mhannan13
Lurker
Registered: 2002-11-26
Posts: 4
Loc: England
|
The visual is basically a popup window. You are totally on the right lines, what i would like to do is gather that info in the popup and then export it in notepad etc. into a remote directory or file.
|
Top
|
|
|
|
#33550 - 2002-11-26 02:22 PM
Re: Need Help With This One!!
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
mhannan13,
Is this when the user is fully logged in and you run a NET USE and you see a disconnected resource?
BTW, Welcome to the board!
Kent
|
Top
|
|
|
|
#33551 - 2002-11-26 02:29 PM
Re: Need Help With This One!!
|
mhannan13
Lurker
Registered: 2002-11-26
Posts: 4
Loc: England
|
yes, it is a messagebox( ).
|
Top
|
|
|
|
#33552 - 2002-11-26 02:33 PM
Re: Need Help With This One!!
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
OK..
The construct would be as follows:
NET USE > TEST.TXT
Then do a READLINE on it and if found with any Disconnected Resources display a messagebox.
Kent
|
Top
|
|
|
|
#33555 - 2002-11-26 02:45 PM
Re: Need Help With This One!!
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I think we are in the phase of trying to see what he is trying to achieve.
If he does it as a messagebox, it could prompt a call to a Support Desk to put out any fires.
However, what we have done is use an SMTP mailer like POSTIE or BLAT to e-mail our group and we take care of the issue on the "back side."
Thanks,
Kent
|
Top
|
|
|
|
#33556 - 2002-11-26 02:50 PM
Re: Need Help With This One!!
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
mhannan13,
I think we may have something for you -
Looking at the FAQ
We find.. File Operations
Look under: 4. Test for Drive existence with notification
I think this maybe better from an end-user perspective where they do not have to dismiss a dialog box (messagebox).
HTH,
Kent
|
Top
|
|
|
|
#33557 - 2002-11-26 04:03 PM
Re: Need Help With This One!!
|
mhannan13
Lurker
Registered: 2002-11-26
Posts: 4
Loc: England
|
Please email me if you would like to see the script.
Thanks for all the advice so far.
regards
mark
|
Top
|
|
|
|
#33559 - 2002-11-26 04:05 PM
Re: Need Help With This One!!
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Is this detection piece really that big?
If you have company-sensitive information, you can change it for posting.
We cannot work on telepathy here.
Thanks,
Kent
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 329 anonymous users online.
|
|
|