Hi,
I want to use copy and remove commands both in a single execute command activity in a job sequence.
The copy command is
cp C:\createfile.txt C:\create, AND the remove command is
rm C:\deletefile.txt
I typed both commands by placing a comma between two commands in the execute command activity.Its not getting executed.
I tried to keep both commands in seperate file and mentioned that file in the execute command activity.Its not getting executed.I tried with file extensions .txt, .bat, .exe.
Any ideas? I am new to Sequences..
Thanks..
Executing multiple commands from a file
Moderators: chulett, rschirm, roy
Executing multiple commands from a file
Via
-------------------------------------
Learn all the way, as you Grow each Second
-------------------------------------
Learn all the way, as you Grow each Second
Code: Select all
Thank you Brian..
Re: Executing multiple commands from a file
The .bat extension should have worked. What happened when you tried that?via wrote:I tried to keep both commands in seperate file and mentioned that file in the execute command activity.Its not getting executed.I tried with file extensions .txt, .bat, .exe.
ps. You really don't want to be using the root of your C: drive for file storage.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers