11-09-2018, 11:18 PM
I want to use the command line to set the administrator password. If I generate the exe file from the macro, which method is more secure. Is there a safer way to set a password?
Macro Macro2
Macro Macro1
Trigger SF9
Macro Macro2
str d="$system$"
str pwd="123456"
str s1=
F
;@echo off
;cd {d.expandpath}
;net user administrator {pwd}
out s1
__TempFile f.Init(".bat" "" "" s1)
str ss1
RunConsole2 f ss1
mes ss1
Macro Macro1
Trigger SF9