Solved QR code maker in batch file, is it possible???

March 14, 2012 at 07:51:03
Specs: Windows 7, 4gb
I wanted to know if this is possible for a batch file to generate a QR code and then decode it from a text file. I have no idea how to do this nor do I have a broken code needing to be fixed, I just thought this might intrigue some people.
Edit: I guess obviously a batch file cant print a picture so it would have to use text somehow, so it wouldn't be a "QR code", more like a new invention batch files could read somehow, like a decoded square of random text that has assigned meanings.

See More: QR code maker in batch file, is it possible???

Report •

#1
March 17, 2012 at 06:01:43
I suppose you could create a unique identifer text file and read it into the batch file(which would act as an interpeter) and then the said batch file would start a browser instance to the link that was preselected.

mike


Report •

#2
March 18, 2012 at 05:55:35
✔ Best Answer
It's technically possible, relevant ASCII codes are 219 (█) 220 (▄), and 223 (▀). The Wikipedia article has details on what should go into the label. Expressing the logic in batch is the real challenge.

How To Ask Questions The Smart Way


Report •

#3
March 18, 2012 at 10:47:56
Thats a really good point, never thought about it in that kinda way. Thanks for the information, glad to become a little more open minded about whats possible

mike


Report •

Related Solutions

#4
March 18, 2012 at 13:26:28
You really shouldn't. Batch was "designed" for simple logic and file system manipulation. It really doesn't handle the types of problems you see here very well. Just because you can doesn't mean you should, or something.

How To Ask Questions The Smart Way


Report •

#5
March 19, 2012 at 06:02:42
OK thanks, I just wanted to know if it was possible. I probably won't be that advanced in batch for a while, if ever.
EDIT: I feel incredibly challenged to try something like this. Though it won't work probably, I'm going to try.

Report •

Ask Question