1 Replies - 3764 Views - Last Post: 08 November 2009 - 02:15 PM Rate Topic: -----

#1 richurules  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-November 09

create and run a .bat file

Post icon  Posted 08 November 2009 - 11:19 AM

hi..

I need help with a macro in excel which should be able to create and execute a bat file when the excel file is opened..

the bat file can just have for example a command to launch notepad or show the time..

the objective is basically to check the scurity problems with excel, pdf.. etc..
if you guys have any other ideas in which we can execute code using popular softwares without being detected by anti virus.. chip in your ideas..

how can we make sure the macro will run on a distant machine..?? is the security level being moderate the only option for it to work??

thanks a lot.

Is This A Good Question/Topic? 0
  • +

Replies To: create and run a .bat file

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 469
  • View blog
  • Posts: 4,280
  • Joined: 25-March 09

Re: create and run a .bat file

Posted 08 November 2009 - 02:15 PM

hi
the batch file is a text file with extension .bat, for runing it shell execute will do the work :)

good luck
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1