Have you ever wanted to view current Desktop Background Image folder and file name?

Save the above code to a .bat file with any name you like inside windows\sytem32 folder and run it ,you could also make a shortcut to dsecktop for easy feuture access.

@echo off
rem save this file to Windows\sytem32 folder and callit with a shortcut from desktop
for /f "tokens=2*" %%a in ('reg query "HKCU\Control Panel\Desktop" /v TranscodedImageCache 2^>^&1^|find "REG_"') do @set fn=%%b
chcp 1253
setlocal DisableDelayedExpansion
set Caret=^^
set ControlChar={SOH} {STX} {ETX} {EOT} {ENQ} {ACK} {BEL} {BS} {HT} {LF} {VT} {FF} {CR} {SO} {SI} {DLE} {XON}
set ControlChar=%ControlChar% {DC2} {XOFF} {DC4} {NAK} {SYN} {ETB} {CAN} {EM} {SUB} {ESC} {FS} {GS} {RS} {US}
set AsciiChar= !"#$%%&::()*,-./0123456789:;<=>?
setlocal EnableDelayedExpansion
set AsciiChar=!AsciiChar!@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]!Caret!_`abcdefghijklmnopqrstuvwxyz{^|}~
set AsciiChar=!AsciiChar!€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«??®¯?±?³´µ¶·¸¹º»¼½¾¿
set AsciiChar=!AsciiChar!ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛ?ÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
set HexCode=%fn%
::set junk=%fn:~0,48%
set HexCode=%HexCode:~48,255%
:Conversion
set DecimalCode=
set AsciiCode=
set BinaryCode=

:ConvertHex

set /A Decimal=0x%HexCode:~0,2%, DecChar=Decimal-32
set DecimalCode=%DecimalCode%%Decimal%,

if %Decimal% lss 32 (
if %Decimal% equ 0 (
set AsciiCode=!AsciiCode!
) else (
for /F "tokens=%Decimal%" %%c in ("%ControlChar%") do set AsciiCode=!AsciiCode!%%c
)
) else (
set AsciiCode=!AsciiCode!!AsciiChar:~%DecChar%,1!
)
set Binary=
for /L %%i in (1,1,8) do (
set /A "Bit=Decimal&1, Decimal>>=1"
set Binary=!Bit!!Binary!
)

set BinaryCode=%BinaryCode%%Binary%,
set HexCode=%HexCode:~2%
if defined HexCode goto ConvertHex

::echo Hex: %1
::echo Dec: %DecimalCode%
echo !AsciiCode!
::set str=%AsciiCode
::echo Bin: %BinaryCode%
::cls
::echo %str%
::echo %str:~39,90%
"!AsciiCode!"
timeout 2

Or you can download it.

EDB.bat

Currently there's a problem with folders and files with Greek letters

If you have any suggestions about the code please send a copy of a working updated code.

Back to MAIN PAGE                                            THANCK YOU FOR YOUR VISIT