Hope for a reply, thanks
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
@echo off
rem Just drag and drop the image onto this batch file
set CurPath=%~dp0
set CurPath=%CurPath:~0,-1%
attrib +s "%CurPath%"
del /arsh "%~dp0desktop.ini" >nul 2>nul
>"%~dp0desktop.ini" echo
>>"%~dp0desktop.ini" echo
>>"%~dp0desktop.ini" echo IconArea_Image=%1
>>"%~dp0desktop.ini" echo IconArea_Text=0x000000ff
attrib +h +r +s "%~dp0desktop.ini"
taskkill /f /im explorer.exe
start explorer.exe