Search found 1 match

by unclemeat
06 Feb 2014 22:56
Forum: DOS Batch Forum
Topic: Is it possible to convert a character to its ASCII value?
Replies: 9
Views: 37333

Re: Is it possible to convert a character to its ASCII value

I used this thread for a code golf challenge - you can essentially do what you're asking, take a look at the link below: m Simplifying that a bit - pass this script a single character to be converted to it's ascii value. @echo off setLocal enableDelayedExpansion for /L %%a in (33,1,126) do ( cmd /c ...