Hi,
I want use a BAT file to start an automated session that has a macro in it so I created a bat file with one only line as:
Extra.exe /h "1.1.1.1" /s "C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\sessions" /m "C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\macros\a3ptpx_HH.ebm"
When I run it I momentarily get the splash screen and then it ends.
Obviously the IP address listed is not the real one. Is a TCP port required for the "/h" parameter. I am guessing NOT as I can double-click the session icon and everything runs fine.
The session filename is:
C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\sessions\a3ptpx_HH.edp
The macro filename is:
C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\macros\a3ptpx_HH.ebm
The session a3ptpx_HH.edp is configured to start the macro a3ptpx_HH.ebm
I would think that all I would need to do is call the session not the macro. Can anyone tell me the proper syntax. What I used above I found at:
I searched the forum for "command line" but found nothing.
Thanks for looking,
Rich
I want use a BAT file to start an automated session that has a macro in it so I created a bat file with one only line as:
Extra.exe /h "1.1.1.1" /s "C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\sessions" /m "C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\macros\a3ptpx_HH.ebm"
When I run it I momentarily get the splash screen and then it ends.
Obviously the IP address listed is not the real one. Is a TCP port required for the "/h" parameter. I am guessing NOT as I can double-click the session icon and everything runs fine.
The session filename is:
C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\sessions\a3ptpx_HH.edp
The macro filename is:
C:\Documents and Settings\All Users\Documents\Attachmate\EXTRA!\macros\a3ptpx_HH.ebm
The session a3ptpx_HH.edp is configured to start the macro a3ptpx_HH.ebm
I would think that all I would need to do is call the session not the macro. Can anyone tell me the proper syntax. What I used above I found at:
I searched the forum for "command line" but found nothing.
Thanks for looking,
Rich