I communicate with PC, it sends decimal number string represents personal card number,user name and some other parameters, I want to save this data in file represents card number i.e. 001A1BEC.DAT, after that, user data on that file will be verified against RFID module reading which sends card number in hex.
I will try your method, otherwise i have to change data from PC to hex also.
I used hex to save file name because 8 hex digits can fit up to 9 digits of card number 999-999-999 while using decimal will fit only 8 digits, I'm tied to 8.3 filing system format.
Thanks so much Erel