Switch to full style
User discussion and information resource forum for the TeraByte OS Deployment Tool Suite.
Forum rules
Post a reply

Elevate command ?

Fri May 29, 2015 8:50 am

There is not much documentation on the elevate and iselevated commands. Am I missing some documentation?

Additionally, now that your scripts are coded, it is impossible to see how the scripting commands can be used. While your scripts are coded for "size" purposes, can you make the source available so we can tweak them, or use for education purposes?

Re: Elevate command ?

Fri May 29, 2015 11:36 am

Elevate is in the manual as is IsElevated() .. for the first one you can
just do "help elevate". They are windows only and just a easy way to have
users run scripts unelevated and elevate when needed (adding the "ready to
run scripts" to the start group). Didn't want to force elevation for
those that may have scripts existing that don't need elevation.

unfortunately, these scripts have been used by others to copy the
copyrighted scripts and put in .exe form and market them as their own.
There was no real active community extending the scripts or coming up with
new scripts, etc. I can see providing some sample scripts again to show
how to create the menu system, etc..


"tas3086" wrote in message news:9706@public.tbosdt...

There is not much documentation on the elevate and iselevated commands. Am
I missing some documentation?

Additionally, now that your scripts are coded, it is impossible to see how
the scripting commands can be used. While your scripts are coded for "size"
purposes, can you make the source available so we can tweak them, or use for
education purposes?

Re: Elevate command ?

Fri May 29, 2015 7:02 pm

Thank you. Could you document the format of the PARMS parameter. Is it similar to the parameters used in the run command?
If run from a not elevated tbscript to relaunch the tbscript elevated, would the format be: ext("ELEVATE PARMS("#ARG(1)#")")



For those interested, the 2 functions are documented on page 25 and 72 of the tbosdt manual. The elevated help text is as follows:

"Relauch application elevated if not alredy elevated."

Re: Elevate command ?

Fri May 29, 2015 8:37 pm

Something like this:

Ext("Elevate ^"^"^"" # arg(0) # "^"^"^"")

You have to add the extra quotes or they get lost...

"tas3086" wrote in message news:9708@public.tbosdt...

Thank you. Could you document the format of the PARMS parameter. Is it
similar to the parameters used in the run command?
If run from a not elevated tbscript to relaunch the tbscript elevated, would
the format be: ext("ELEVATE PARMS("#ARG(1)#")")



For those interested, the 2 functions are documented on page 25 and 72 of
the tbosdt manual. The elevated help text is as follows:

"Relauch application elevated if not alredy elevated."

Post a reply