Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank folder name - no delete
Message
From
23/03/2004 23:45:44
 
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
00888219
Message ID:
00889117
Views:
16
Hi --sb--. Unfortunately that did not work either. I will have to investigate other solutions. Thanks anyway.


>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
>>>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform