Base64 issue

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Base64 issue

Post by kpassaur » Thu Apr 03, 2008 10:26 am

I just copied this from the help file and it is telling me that it is not Base64.

DeleteFile>c:\temp\test.txt
Crypt>abc,hello,cryptval
Base64>cryptval,ENCODE,ascii_cryptval
WriteLn>c:\temp\test.txt,r,asciicryptval

ReadLn>c:\temp\test.txt,1,ascii_cryptval
Base64>ascii_cryptval,DECODE,bin_cryptval
Crypt>abc,bin_cryptval,clean

MDL>%clean%

Now I did add the first line to make sure it was a clean file and changed the path to write to and that is it. I am running ver 10.020

This is a new PC with XP and SP2, is there any other requiremenst?

I have noticed that a script on my old PC that was using the VBScript Escape function was not working on a file that I encrypted so I figured I would update as Base64 is easier to deal with.

Any ideas?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Apr 03, 2008 12:35 pm

I see a typo - I've bolded it:

DeleteFile>c:\temp\test.txt
Crypt>abc,hello,cryptval
Base64>cryptval,ENCODE,ascii_cryptval
WriteLn>c:\temp\test.txt,r,asciicryptval

ReadLn>c:\temp\test.txt,1,ascii_cryptval
Base64>ascii_cryptval,DECODE,bin_cryptval
Crypt>abc,bin_cryptval,clean

MDL>%clean%

asciicryptval should be ascii_cryptval

Oh dear, I see this typo is also in the help file. Will get that fixed pronto.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts