animationolz.blogg.se

Convert file line to hex in c
Convert file line to hex in c





convert file line to hex in c

Have your tried to code such tool instead of messing with mapping and 255*255 cycles?Īs for !id! im not sure what Os you do use, but for me in Windows 7 !id! always returned "file not found" even without /f, by default "for" uses (something) as filename, not as string itself, and its clearly stated in for /? help, i think you messed something or have non default setting in registry or some older Os. Actually i googled for command line tool like this, but i only found hex2dec by Mark Russinovich, so i have no other choice but to do it in pure bat.īut i prefer external tools, its not a problem to redistribute such tools with bat script or hide it inside any exe container like bat2exe, but im not sure if tools like this exist.

convert file line to hex in c convert file line to hex in c

I know about %=exitCodeASCII% but its not the point of my interest, as i need opposite effectĪctually your script is exactly what i was thinking about (and just mentioned in some thread nearby without awareness that someone already did this script), but again it seems 2 slow and heavy -Ģ55 for cycles with 255 more for cycles? How many of them do we have in total, 65025? I suppose coding some little hex\dec\ascii command line converter in C# or asm would be simpler and more effective and faster.







Convert file line to hex in c