Internal command Print

I can't get the internal PRINT command to work. I have tried with the examples specified for the command, eg
dopusrt.exe Print FOLDER TO=clip AS=txt QUIET
but nothing ends up in the clipboard.

Try without dopusrt.exe.

If you meant I should use dopus.exe instead, unfortunately that didn't work either. The result was that Opus "opens" the non-existent folder C:\Program Files\Directory Opus\Print!

Print FOLDER TO=clip AS=txt QUIET

Thanks for trying to help me. But your suggestion is exactly what I wrote in my first post:
dopusrt.exe Print FOLDER TO=clip AS=txt QUIET

I might add that specifying a file as a recipient also does not work:
dopusrt.exe Print FOLDER TO=dirprint.txt AS=txt QUIET
The file is not created.

Delete dopusrt.exe from the line. dopusrt.exe is only necessary to run internal commands from outside of Opus.

That's what I do - I enter the command from a DOS window.

I can add that it is precisely the Print command that does not work. If I enter:
dopusrt.exe /open C:
a new lister appears with the contents of C:

Finally, after many attempts, I got it right:
dopusrt.exe /cmd Print TO=path FOLDER=path AS=txt ENCODING=UTF8 FLATVIEW=grouped QUIET
The most important was the /cmd argument. If QUIET is included without the arguments ENCODING and FLATVIEW, a list of default settings is created, i.e. not the settings you may have made yourself. It took me a long time to understand why there were different results when the only difference was whether QUIET was included or not. I wish there had been more examples.

1 Like