You have to login in order to post a reply to this topic.

3 replies [Last post]
genTaliaru
User offline. Last seen 1 year 46 weeks ago. Offline
Joined: 03/04/2010
Posts: 2

 I have successfully create a exe file wich send email when disk free space is under 1500MB.

But i have a question to ser command line variables

if call my aplication in command prompt (cmd)

like this
c:\test\myEmailSender.exe -email my@email.com -minSpace 1500
how can i use parameters email and minSpace in WinAutomation.

Is it possible?

I am thankful for any help :)

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Command line variables

 Hello there! Did you try entering the exact same thing that you enter in cmd in the "Run DOS Command" action? It acts pretty much the same with the command line. I think that you can also do it through the "Run Application" action and enter the email and minSpace options in the "Command Line Arguments" input field.

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

genTaliaru
User offline. Last seen 1 year 46 weeks ago. Offline
Joined: 03/04/2010
Posts: 2
Re: Command line variables

I use version 2.0.3.746

Where can i find it the "Command Line Arguments".

 

 

 

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Command line variables

You will have to download the latest version of WinAutomation. If you want to generate an executable that accepts command line arguments the action that enables you to do that is the "Get Command Line Arguments" action (under "WinAutomation actions" category if I'm not mistaken). The specific action is not available in versions prior to 3 :(

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==