#132229 - 2005-01-13 03:31 AM
Re: Current Suggestions / Requests discussions
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
|
Top
|
|
|
|
#132233 - 2005-01-13 03:11 PM
Re: @function to determine OU of user and/or workstation
|
Les
KiX Master
Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
|
Well... I only went with the macro theme cuz the subject had an @ in it.
My user object in AD, for example is: CN=LLigetfa,OU=Users,OU=FF,OU=CACC,DC=bla,DC=local
It should be read backwards, so as you can see, CACC is off the root, our Fort Frances division has its own OU (FF), and I am in the Users OU. We also nest additional OUs for the purpose of GPOs and such.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.
|
Top
|
|
|
|
#132234 - 2005-01-13 10:02 PM
Re: @function to determine OU of user and/or workstation
|
ChristopheM
Hey THIS is FUN
Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
|
many suggestions are interesting : - support of XML (but already available with COM Object),
- support of by ref and by val parameters for functions
- out parameters for functions (at the present time, to return several values, I must use array but it's not very readable)
- binary mode for files
- socket support
- math functions
- regular expressions (would be very appreciated because it's very powerful for file manipulation or input validation)
- a function to split a line of a CSV file (with delimitor AND separator field. The split function is not enough)
- RD as described by Bryce and others shell commands like pushd and popd
- Some existant functions should be improved like DIR :
2 Dir is not sufficient. OK, with recursivity, it's possible to scan a tree but it would be nicer to have : $dirhandle = freedirhandle() $file=dir( $mask, $dirhandle) - event handler for WMI notification (WbemScripting.SWbemSink). Now, it's one of the only points that is not possible in Kix but possible in VBScript (and i hate VB script)
according to me, something like On Error should be prohibited. This is a GOTO (and it's VB). I would prefer something like Try..except or try..finally like in Delphi or try..catch in C#, Java and so on.
That's all for tonight.
_________________________
Christophe
|
Top
|
|
|
|
#132241 - 2005-01-14 08:04 PM
Re: @function to determine OU of user and/or workstation
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
Okay Les,
I'll try to use the Threaded view for you on this one. Don't like it, but hey for you - anything
|
Top
|
|
|
|
#132243 - 2005-01-14 09:17 PM
Re: Current Suggestions / Requests discussions
|
ChristopheM
Hey THIS is FUN
Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
|
many suggestions are interesting : - support of XML (but already available with COM Object),
- support of by ref and by val parameters for functions
- out parameters for functions (at the present time, to return several values, I must use array but it's not very readable)
- binary mode for files
- socket support
- math functions
- regular expressions (would be very appreciated because it's very powerful for file manipulation or input validation)
- a function to split a line of a CSV file (with delimitor AND separator field. The split function is not enough)
- RD as described by Bryce and others shell commands like pushd and popd
- Some existant functions should be improved like DIR :
2 Dir is not sufficient. OK, with recursivity, it's possible to scan a tree but it would be nicer to have : $dirhandle = freedirhandle() $file=dir( $mask, $dirhandle)
- event handler for WMI notification (WbemScripting.SWbemSink). Now, it's one of the only points that is not possible in Kix but possible in VBScript (and i hate VB script)
according to me, something like On Error should be prohibited. This is a GOTO (and it's VB). I would prefer something like Try..except or try..finally like in Delphi or try..catch in C#, Java and so on.
That's all for tonight.
_________________________
Christophe
|
Top
|
|
|
|
#132244 - 2005-12-12 04:29 PM
Re: Current Suggestions / Requests discussions
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Emulate Xcopy $source+'\*.*' $destination /d
In order to copy newer files
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 718 anonymous users online.
|
|
|