how to delete desktop.ini
Started by
xplod
, May 10 2007 02:34 PM
9 replies to this topic
#1
Posted 10 May 2007 - 02:34 PM
Hallo,
I'm trying to delete the desktop.ini.
del X:\Windows\System32\config\systemprofile\Desktop\desktop.ini
is not working.
Any ideas how to do it?
xplod
I'm trying to delete the desktop.ini.
del X:\Windows\System32\config\systemprofile\Desktop\desktop.ini
is not working.
Any ideas how to do it?
xplod
#2
Posted 15 May 2007 - 08:54 AM
Desktop.ini is a system and hide file.
Here the solution:
attrib -s -h "x:\windows\system32\config\systemprofile\desktop\desktop.ini"
del "x:\windows\system32\config\systemprofile\desktop\desktop.ini"
Xplod
Here the solution:
attrib -s -h "x:\windows\system32\config\systemprofile\desktop\desktop.ini"
del "x:\windows\system32\config\systemprofile\desktop\desktop.ini"
Xplod
#3
Posted 15 May 2007 - 09:01 AM
Hallo,
here a little groggy to delete the desktop.ini
Xplod
here a little groggy to delete the desktop.ini
Xplod
#4
Posted 16 May 2007 - 05:32 AM
Hallo,
here a little groggy to delete the desktop.ini
Xplod
Any idea what is creating it in the first place?
#5
Posted 16 May 2007 - 07:01 AM
explorer.exe
#6
Posted 16 May 2007 - 08:03 AM
explorer.exe
I vergot the proggy.
Xplod
#7
Posted 16 May 2007 - 09:19 AM
Be careful when wanting to delete every desktop.ini.
Sometimes the file is needed.
E.g. in my CDShortcut.script, I create a desktop.ini which defines the icon of the 'CD' folder.
Peter
Sometimes the file is needed.
E.g. in my CDShortcut.script, I create a desktop.ini which defines the icon of the 'CD' folder.
[.ShellClassInfo] IconFile=%Systemdrive%\....\CDShortcut.exe IconIndex=0
Peter
#8
Posted 07 July 2007 - 07:58 PM
Where can i find your solution to get rid of the desktop.ini file?I vergot the proggy.
Xplod
Thanks and regards
#9
Posted 08 July 2007 - 12:44 PM
Hi
Do you want to hide the files on DESKTOP
(?):\Vistape\Projects\VistaPE\Addons\explorerv.script
RegHiveLoad,"WB-default","%RegDefault%"
***
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Hidden","1"
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowSuperHidden","0"
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","SuperHidden","1"
Do you want to hide the files on DESKTOP
(?):\Vistape\Projects\VistaPE\Addons\explorerv.script
RegHiveLoad,"WB-default","%RegDefault%"
***
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Hidden","1"
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowSuperHidden","0"
RegWrite,"HKLM",0x4,"WB-default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","SuperHidden","1"
#10
Posted 18 July 2007 - 12:36 PM
DESKTOP.INI is a file used by Windows to store information about how to present the folder it is in. That is why DESKTOP.INI "magically" comes back - a new DESKTOP.INI has been made to hold folder presentation info.
It's mostly harmless (although I've heard to can hide files via DESKTOP.INI)
Here's more info:
http://www.xs4all.nl...desktopini.html
It's mostly harmless (although I've heard to can hide files via DESKTOP.INI)
Here's more info:
http://www.xs4all.nl...desktopini.html
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users