Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

Can someone provide an example of a command line to be executed for the "Run Program" remote task. I am sure the syntax is simple but I cannot get anything to work. There are no examples in the documentation.

asked 22 Mar '12, 11:00

TL1's gravatar image

accept rate: 0%

The format is a executable name followed by parameters. Make sure the executable you're calling is in the path or provide the full path. For example...

xcopy src_file.txt dst_file.txt

This command is passed directly to the OS and doesn't go through the command shell. If you want to execute a shell command, you can do the following...

cmd /c dir > listing.txt

permanent link

answered 22 Mar '12, 13:23

Michael%20Thode's gravatar image

Michael Thode
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Mar '12, 11:00

question was seen: 1,611 times

last updated: 22 Mar '12, 13:23