Hi,
I was given a session file that when I doubleclick it initiates a session to the mainframe which runs a macro to perform the 1st of 2 signons then stops at the 2nd signon screen. I since added code to the macro to do what I want.
Here's what I want to be able to do...
1) initiate the session (which calls its macro) from a BAT file instead of double clicking it
perhaps using code similiar to this
wshshell.Exec(""""C:\Program Files\Attachmate\EXTRA!\Ebrun.exe""" C:\Program Files\Attachmate\EXTRA!\Sessions\xxxxxx.xxx")
2) which will run the macro code called by the session (this step is pretty much written)
3) once macro is done close both macro and session that called it so that nothing is left on the desktop.
Has anyone done this and can provide a link or instructions in accomplishing this?
Thanks,
Rich
I was given a session file that when I doubleclick it initiates a session to the mainframe which runs a macro to perform the 1st of 2 signons then stops at the 2nd signon screen. I since added code to the macro to do what I want.
Here's what I want to be able to do...
1) initiate the session (which calls its macro) from a BAT file instead of double clicking it
perhaps using code similiar to this
wshshell.Exec(""""C:\Program Files\Attachmate\EXTRA!\Ebrun.exe""" C:\Program Files\Attachmate\EXTRA!\Sessions\xxxxxx.xxx")
2) which will run the macro code called by the session (this step is pretty much written)
3) once macro is done close both macro and session that called it so that nothing is left on the desktop.
Has anyone done this and can provide a link or instructions in accomplishing this?
Thanks,
Rich