I somehow deleted the desktop folder from my Windows PC. Now every time I go to the desktop or browse to the desktop from explorer, I get a notification that the location is unavailable.
How can I fix it?
Printable View
I somehow deleted the desktop folder from my Windows PC. Now every time I go to the desktop or browse to the desktop from explorer, I get a notification that the location is unavailable.
How can I fix it?
md %userprofile%\Desktop
echo [.ShellClassInfo]>%userprofile%\Desktop\Desktop.ini
echo LocalizedResourceName=Desktop>>%userprofile%\Desktop\Desktop.ini
echo IconResource=%SystemRoot%\system32\imageres.dll,-183>>%userprofile%\Desktop\Desktop.ini
attrib %userprofile%\Desktop\Desktop.ini +a +s +h +r
Done,
Thanks Anon
Wow, I have found it! Thank you