| 
	
		| 
		
			|  | SoftTree Technologies Technical Support Forums
 |  |  
	
		| 
	
	
	
		| Author | Message |  
		| NathanW 
 
 
 
 
			
				| Joined: 05 Feb 2009 Posts: 51
 Country: United Kingdom
 |  
 | 
			
				|  Remove Empty Folder |   |  
				| Hi, 
 I have a folder which contains sub-folders. I need to be able to run a script that will remove the sub-folders that are empty. For Example:
 
 TopFolder
 Subfolder1 (has 10 files)
 Subfolder2 (has 3 files)
 Subfolder3 (has 0 files)
 Subfolder 4 (has 2 files)
 
 The script would scan the "TopFolder" directory and would remote the "Subfolder3" directory but would leave the others.
 
 Thanks
 
 Nathan[/i]
 
 |  |  
		| Fri Apr 03, 2009 1:46 pm |     |  
		|  |  
		| SysOp Site Admin
 
 
 
 
			
				| Joined: 26 Nov 2006 Posts: 7990
 
 |  
 |  |  
		| Fri Apr 03, 2009 6:58 pm |     |  
		|  |  
		|  |  
  
	| 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  |  |