Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: VBS Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mtflyer05
Newbie
Newbie
Avatar

Joined: June 13 2012
Location: United States
Online Status: Offline
Posts: 1
Posted: June 13 2012 at 13:22 | IP Logged Quote mtflyer05

I would like to create a VB Script that deletes
folders/files from a jump drive. Could one of you fine
ladies/gentlemen create such a file for myself? It would be
greatly appreciated.


__________________
"A man is least himself when he talks in his own person; give him a mask and he will tell you the truth."
Back to Top View mtflyer05's Profile Search for other posts by mtflyer05 Visit mtflyer05's Homepage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: June 16 2012 at 14:03 | IP Logged Quote nick7920

Could you give little more detail what you want to achieve using Powerhome.

following is one simple example of vbs
*** IT WILL DELETE Folder in g: drive named test123 ***

dim filesys, demofolder
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofolder = filesys.GetFolder("g:\test123\")
demofolder.Delete
msgbox ("done")
Back to Top View nick7920's Profile Search for other posts by nick7920
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum