View Single Post
  #7 (permalink)  
Old 11-10-2008, 6:25 AM
LeonR LeonR is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Nov 2006
Location: UK
Age: 26
Posts: 54
Reputation: 45
LeonR is on a distinguished programming path ahead
Default

Quote:
Originally Posted by bobbel View Post
well, what i did: when you press a button, it print a bat file that ends with "del clean.bat" and then executes it, so you can't read it and you nearly can't copy it

If you really want a batch file... and it must be part of the exe..

My work around would be to create a sub routine which actually creates a new batch file and writes the content to it.

Then run the file and after the execution has completed, delete it.
Reply With Quote