Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Write file from resources to computer location.
- Dim FileContent As String = My.Resources.mybatchfile
- Dim Filename As String = "d:\temp\mybatchfile.bat"
- My.Computer.FileSystem.WriteAllText(Filename, FileContent, False)
- Process.Start(Filename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement