Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2005, 09:18 AM
Registered User
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default remove folder

Hi all,
I want to remove a profile folder on several pc's. I would like to know if anybody has written a vba routine that can remove a complete folder that is NOT empty. So the folder, it subfolders and all the content should be deleted. The folder must be accessed via the network "\\PCName\c$\Documents and Settings", and to make it a little more difficult, PCName is variable. I know a tool called DelProf.exe from microsoft but this can not delete specific profiles. ( only older then nnnn days ).

 
Old December 7th, 2005, 08:53 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Please check "Microsoft Windows 2000 Scripting Guide" ISBN: 0735618674

Still the very best book for this sort of thing.

Also, check out the scripting guys on Microsoft.com:
http://www.microsoft.com/technet/scr...a/hsgarch.mspx

HTH

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Properties angelboy C# 2005 5 March 30th, 2008 09:44 AM
App_Code folder shared on only 1 folder? rpeters83 ASP.NET 2.0 Professional 1 September 1st, 2006 10:53 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
Remove UserForm lostthought VB How-To 0 July 29th, 2004 12:46 PM
How to remove ? abdusalam Javascript How-To 1 July 27th, 2004 01:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.