how to delete the foler "Take write access off your guest network account ..." from desktop

M

Mike

On my Windows XP desktop, there is a folder with name

"Take write access off your guest network account ...".


It's kind of annoying, so I would like to delete it.


But I can't.


When I want to delete it, Windows Explorer shows following error :

"Cannot delete file: Cannot read from the source file or disk."


When I double click it, Windows Explorer shows following error:

"C:\Documents and Settings\....\Take write access off your guest
network
account .... refers to a location that is unavailable. It could be on
a
hard drive on this computer, or on a network. ..."




Any suggestions?




Thanks.
 
W

Wesley Vogel

The trailing periods in the folder name may be the problem.

Cannot delete file Cannot read from the source file or disk

See...
Cause 6: The file name includes an invalid name in the Win32 name space
here...
You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/kb/320081

Try this.

To delete a folder.

RD is the RemoveDirectory command. Removes (that is, deletes) a directory
or folder.

Dragging the folder into the command prompt automatically types the path &
folder name and adds the double quotes.

\\?\ turns off some checking of illegal names as a side effect of allowing
paths up to 32000 characters.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command prompt window type:

RD "\\?\

Drag the folder into the command prompt so you do not have to type the name
and path.

Click on the command prompt Title bar to give it focus.

Make sure that there are NOT three double quotes, only two, like...

C:\>RD "\\?\%userprofile%\Desktop\New Folder"

Then hit your Enter key.

Try this to delete the file.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command prompt window type:

del (and one space)

Drag the file into the command prompt.

Then hit your Enter key.

del is the delete command. Deletes specified files.

Dragging the file into the command prompt automatically types the path &
file name and adds the double quotes.

One space is needed between del and the path\file name, like...

del "%userprofile%\Desktop\New.txt"

\\?\ turns off some checking of illegal names as a side effect of allowing
paths up to 32000 characters.

Open a command prompt and type:

del "\\?\

Drag the file into the command prompt so you do not have to type the name
and path.

Click on the command prompt Title bar to give it focus.

Make sure that there are NOT three double quotes, only two, like...

C:\>del "\\?\%userprofile%\Desktop\New.txt"

Then hit your Enter key.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
M

Mike

The trailing periods in the folder name may be the problem.

Cannot delete file Cannot read from the source file or disk

See...
Cause 6: The file name includes an invalid name in the Win32 name space
here...
You cannot delete a file or a folder on an NTFS file system volumehttp://support.microsoft.com/kb/320081

Try this.

To delete a folder.

RD is the RemoveDirectory command. Removes (that is, deletes) a directory
or folder.

Dragging the folder into the command prompt automatically types the path &
folder name and adds the double quotes.

\\?\ turns off some checking of illegal names as a side effect of allowing
paths up to 32000 characters.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command prompt window type:

RD "\\?\

Drag the folder into the command prompt so you do not have to type the name
and path.

Click on the command prompt Title bar to give it focus.

Make sure that there are NOT three double quotes, only two, like...

C:\>RD "\\?\%userprofile%\Desktop\New Folder"

Then hit your Enter key.

Try this to delete the file.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command prompt window type:

del (and one space)

Drag the file into the command prompt.

Then hit your Enter key.

del is the delete command. Deletes specified files.

Dragging the file into the command prompt automatically types the path &
file name and adds the double quotes.

One space is needed between del and the path\file name, like...

del "%userprofile%\Desktop\New.txt"

\\?\ turns off some checking of illegal names as a side effect of allowing
paths up to 32000 characters.

Open a command prompt and type:

del "\\?\

Drag the file into the command prompt so you do not have to type the name
and path.

Click on the command prompt Title bar to give it focus.

Make sure that there are NOT three double quotes, only two, like...

C:\>del "\\?\%userprofile%\Desktop\New.txt"

Then hit your Enter key.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

InMike <[email protected]> hunted and pecked:













- Show quoted text -

Cool. The following command works:
C:\>RD "\\?\%userprofile%\Desktop\New Folder"

Thanks.
 
W

Wesley Vogel

Glad it worked for you.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top