08-29-2011 2:27 PM
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
08-29-2011 2:39 PM
Sometimes a search in SAP notes will help...
'% %' should work.
Have a look at Note 1152084 - Parameter for external commands
regards
08-29-2011 2:39 PM
Sometimes a search in SAP notes will help...
'% %' should work.
Have a look at Note 1152084 - Parameter for external commands
regards
08-29-2011 2:48 PM
Thank you very much for your great answer.
And sorry for my laziness - in the future I will check OSS first.
Have a nice day
08-29-2011 6:51 PM