Page 2 of 2 <12
Topic Options
#32980 - 2002-11-21 04:21 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
bpsysadmin Offline
Fresh Scripter

Registered: 2002-10-18
Posts: 20
*g* people [Wink] Euhm.. First of all I want to thank everyboddy for his answering and especially Vig.

I must say Vig is right, but you people are right about that I was writing a hotfix script. Offcoarse i was only asking how to program and use the Dir command. I was stupid not to search all topics, but well, okay thats my fault. What I didn't ask was how to create the script furthermore...It is always nice to get advice and idea's, but Vig is right about that I didn't asked that AND that some of the replies aren't that nice to a newcomer like me [Smile] But well thanks again for all your commentry and replies & advice...

It is true I haddnt thought about stuff like: Is the hotfix allready installed...etc.

But what I didn't say was that the script whould be running at logon..Second more I didn't talk about users which are or aren't administrators (all users have administrative rights on the pc's (but not on the domain)) and so on and so on.

I was just trying to get the concept working...Haven't been thinking about the order of hotfixes nor anything else. But that whould be the 2nd step, and as I read..there are some other ppl who made those scripts incl. checking etc. So well, I'm gonna check it out and complete the script [Smile]

Top
#32981 - 2002-11-21 04:53 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Vig,
quote:
While the comments may appear to be directed only at the current thread participants, that is not the case.
Unlike many on this board, I do not hide behind a veil of obscurity. My true name and real email address is in my profile if you truly wish to take this off-line.

bpsysadmin,
While you did get more than you asked for (but not more than you paid for), I hope you are happy in the end. It is not our intention to ridicule.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#32982 - 2002-11-21 05:01 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Vig Offline
Starting to like KiXtart

Registered: 2001-11-14
Posts: 166
Loc: Saudi Arabia
bpsysadmin,
Your welcome. Sorry that came out in your post.

Les,
I've made my point, I'm done. I will discus further in email if wish.

Top
#32983 - 2002-11-21 05:15 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok boys.
shake hands. or go out to fight.
for others, if they fight, I got tickets on sale.

eh...
_________________________
!

download KiXnet

Top
#32984 - 2002-11-21 05:34 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
btw...

If you look at EmunDir() UDF, you can easilly load an array with all the exes in the dir, then check to see if each of them are installed...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#32985 - 2002-11-21 05:41 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep.
but it requires wsh whereas my code above does not.
_________________________
!

download KiXnet

Top
#32986 - 2002-11-21 05:56 PM Re: How to implement doing a 'dir' and executing al .exe files in it...
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
He has WSH... (Well, he has Win2k, and unless he disabled WSH, he has it)
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 978 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org