Need script for change hotspot HTML directory

Hi
I nead a script to change the current hotspot html directory automatically.
Is that possible?

Any help will be appreciated.

It might be the following,

/ip hotspot profile> set 0 html-directory=

But keep in mind that 0 should be replaced with other option, as there is no print support in the scripts, you will need to use find to change specific server html-directory.

i set this: /ip hotspot profile set [find default=yes] html-directory= "
its work. tanks