Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


bind to folder

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,27481
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> bind to folder
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 bind to folder - 10/28/2005 7:09:35 AM   
  mattr2110

 

Posts: 8
Score: 0
Joined: 7/26/2005
Status: offline
I need help with a script, I want to delete all the files from users temp folder. I'm not sure how to do this since there is multiple user profiles on each machine.
Is there a way to bind to the folder document and settings folder and then process each subfolder within this folder?
 
 
Post #: 1
 
 RE: bind to folder - 10/28/2005 1:19:57 PM   
  Cybex


Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
Welcome Mattr2110,

It would help if we knew if this is going to be run remotely as administrator, as a logon script for users, or locally as an administrator against all user temp folders?

Please read the prior posts in the thread you hijacked, the basic code for this is covered on many threads on this site.  I would start here:
http://www.visualbasicscript.com/search.aspx?phrase=Search+Term&forumid=2&timeframe=%3e&message=both&topicreply=both&timefilter=0

And then if you do not find what you are looking try this one:
http://www.visualbasicscript.com/forumid_2/p_1/tmode_1/smode_1/tt.htm
"New Post"

It is considered bad etiquette to hijack other people’s posts.  I always create new posts for my questions unless I need to revisit one of my own posts.


Cybex

(in reply to mattr2110)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> bind to folder Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts