Jump to content











Photo
- - - - -

how to delete desktop.ini


  • Please log in to reply
9 replies to this topic

#1 xplod

xplod

    Frequent Member

  • Advanced user
  • 158 posts
  •  
    Germany

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

#2 xplod

xplod

    Frequent Member

  • Advanced user
  • 158 posts
  •  
    Germany

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

#3 xplod

xplod

    Frequent Member

  • Advanced user
  • 158 posts
  •  
    Germany

Posted 15 May 2007 - 09:01 AM

Hallo,

here a little groggy to delete the desktop.ini

Xplod

#4 Rocker

Rocker
  • Members
  • 4 posts
  •  
    Australia

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 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 16 May 2007 - 07:01 AM

explorer.exe :confused1:

#6 xplod

xplod

    Frequent Member

  • Advanced user
  • 158 posts
  •  
    Germany

Posted 16 May 2007 - 08:03 AM

explorer.exe :confused1:



I vergot the proggy.


Xplod

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

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.
[.ShellClassInfo]

 IconFile=%Systemdrive%\....\CDShortcut.exe

 IconIndex=0

Peter

#8 LongRed

LongRed
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 07 July 2007 - 07:58 PM

I vergot the proggy.
Xplod

Where can i find your solution to get rid of the desktop.ini file? :1st:
Thanks and regards

#9 Max_Real Qnx

Max_Real Qnx

    Gold Member

  • Patrician
  • 1382 posts
  • Location:Istanbul
  • Interests:To be or not to be that is the question.
  •  
    Turkey

Posted 08 July 2007 - 12:44 PM

Hi :1st:

Do you want to hide the files on DESKTOP :thumbup:

(?):\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 Moon Goon

Moon Goon

    Frequent Member

  • Advanced user
  • 270 posts

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users