Author Topic: Handling bitmaps  (Read 13112 times)

Vortex

  • Member
  • *****
  • Posts: 2768
Re: Handling bitmaps
« Reply #30 on: July 02, 2018, 05:32:08 AM »
Hi zedd,

You can write a simple Visual Basic script to avoid the console window displayed by batch files :

Capture.vbs :

Code: [Select]
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run ("H:\masm32\SaveDesktop.exe H:\masm32\capture.bmp")
Set objShell = Nothing

Also, you have to take in account the paths with space characters in the script files. An example :

https://stackoverflow.com/questions/28379207/launch-program-from-vbscript?rq=1