How do I run a program that is made in DOS? It seems simple, but I can't open it through robotask. Could you help me? I created a .bat to run it through RT, but I don't think it needs it:
Ex:
@echo off
cd "C:\Test\"
start test.exe
Help with CMD.exe
Re: Help with CMD.exe
The command line to run some command through CMD.EXE is
To run the program without CMD you can use Run Program/Open Document action
look at my example below. Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Also you can simply copy task text and paste it into the task list.
Then you can see it in task editor
Code: Select all
cmd.exe /c <some_comand_line>
look at my example below. Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Also you can simply copy task text and paste it into the task list.
Then you can see it in task editor
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|444033236
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task1478"
Hide=INTEGER|0
ID=INTEGER|1106430170
LogOnAsUser=INTEGER|1
Name=STRING|"run the application"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
StepPause=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
[Actions\Action1]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""test.exe """
Params=FOLDER
[Actions\Action1\Params]
ifnonzero=STRING|"0"
program=STRING|"c:\test\test.exe"
runas=STRING|"0"
wait=STRING|"0"
workdir=STRING|"c:\test"
Oleg Yershov