Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank folder name - no delete
Message
 
 
To
21/03/2004 05:18:57
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
00888219
Message ID:
00888285
Views:
12
Hi Jos,

See if you can use How to Remove Files with Reserved Names in Windows XP mskb #315226.

>Hi Sergey. WSH finds the folder and tells me that it is named 2 spaces and its sub-folder is named with 1 space. However, it will not delete either one nor allow them to be renamed.
>
>
>
>>Hi Jos,
>>
>>I would try WSH. Having a backup is highly recomended before you do anything.
CLEAR
>>oFso = CreateObject("Scripting.FileSystemObject")
>>oDrive = oFso.GetDrive("Q:")
>>oRF = oDrive.RootFolder
>>? oRF.Path
>>FOR EACH oFolder in oRF.SubFolders
>>	? oFolder.Name, oFolder.Path
>>	
>>	* IF < whatever >
>>	*	oFolder.Delete()
>>	* ENDIF	
>>ENDFOR
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform