Search found 6 matches

by Xandr0s
13 Mar 2019 09:57
Forum: DOS Batch Forum
Topic: Simple log function does not work with some characters (such as parentheses or variables)
Replies: 6
Views: 5322

Re: Simple log function does not work with some characters (such as parentheses or variables)

Hello Dave, Thank you very much for your explanations and the link. It will give me a headache :), but this is very instructive. I take note of your comments and I will adapt my script. Regarding the delayed expansion, this was only part of my script. I simply illustrated my problem to write my log ...
by Xandr0s
13 Mar 2019 07:17
Forum: DOS Batch Forum
Topic: Simple log function does not work with some characters (such as parentheses or variables)
Replies: 6
Views: 5322

Re: Simple log function does not work with some characters (such as parentheses or variables)

Thank you penpen for your help.

I tried with four carets, but not five.

It works :).

But, why so many carets ?
Otherwise, does my function seem correct to you ?
by Xandr0s
13 Mar 2019 01:59
Forum: DOS Batch Forum
Topic: Simple log function does not work with some characters (such as parentheses or variables)
Replies: 6
Views: 5322

Simple log function does not work with some characters (such as parentheses or variables)

Hello, I am currently working on a script in which I would like to set up a log recording function. But my function doesn't work well. Depending on what I send, some characters (such as parentheses or variables) crash my script. I think this comes from having set a condition to check whether or not ...
by Xandr0s
05 May 2018 13:52
Forum: DOS Batch Forum
Topic: Recovering the value of a function (enx, charlib, string encryption)
Replies: 2
Views: 2866

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
by Xandr0s
03 May 2018 05:25
Forum: DOS Batch Forum
Topic: Recovering the value of a function (enx, charlib, string encryption)
Replies: 2
Views: 2866

Recovering the value of a function (enx, charlib, string encryption)

Good morning, everyone, Looking to hide a password, I came across this post: https://www.dostips.com/forum/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 a...