Good morning, everyone,
Looking to hide a password, I came across this post: viewtopic.php?t=2613#p12015
I would like to reuse this function and pass the decrypted password to a command (net use).
I could use the "outpup" variable, but I'm afraid it might be a problem at some point because of the "for" that follows.
So I tried to modify "echo(%%A)" to put the result in a variable, but I couldn't do it.
Could you help me?
Have a nice day
Recovering the value of a function (enx, charlib, string encryption)
Moderator: DosItHelp
Re: Recovering the value of a function (enx, charlib, string encryption)
Not sure what your problem actually is. The function already supports assigning the value to a variable. All you have to do is passing the variable name as second argument.
Steffen
Steffen
Re: Recovering the value of a function (enx, charlib, string encryption)
Indeed, I found the solution, I was not calling the function correctly.
I had to do: call enx input output
Thank you for your help.
Have a nice day
I had to do: call enx input output
Thank you for your help.
Have a nice day