Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EIS Script

Status
Not open for further replies.

pmipalma

Programmer
Sep 25, 2006
4
NL
Does somebody know how you can enter lines in a script in EIS, BrioQuery that will delete files from your harddisk.

The goal will be to delete files exported (EXCEL) after a macro have used the files.

I heard i could use the following but it doesnot work
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("C:\\Temp\\All Reports.htm");
file.Delete(true);

Many thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top