Skip to Content
0
Former Member
Aug 29, 2011 at 01:27 PM

The use of quotes (") in OS commands

239 Views

Hi experts,

I would like to execute a SM69 command (mv) with quotes ("), to secure correctness by files with spaces.

so the command should be:

mv "/dir/file" "/dir/archive/file"

In telnet it runs perfect, but when I execute it in SM69 (also via FM SXPG_COMMAND_EXECUTE), I always get the message:

No such file or directory.

So I think, SAP can't handle the quotes.

Any ideas, how I can realize this statement?

Thx in advance