General information
Category:
Coding, syntax & commands
This will remove the folder ..\e\ folder and anything in it
oFSO = CREATEOBJECT( "Scripting.FileSystemObject" )
oFSO.DeleteFolder( "c:\e" ) && no wildcards removes \e folder
But what if I want to leave the \e folder but remove any files or subfolders in it? But
this doesn't do anything, even though added wildcards??
oFSO = CREATEOBJECT( "Scripting.FileSystemObject" )
oFSO.DeleteFolder( "c:\e\*.*" ) && <---------------added wildcards
Thanks
STeve
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only