Struggling to copy a list of files (in txt file) to another folder

I have created a list of MP3 files from a Playlist that I want to copy to a usb stick. The files are under the same top level MUSIC folder, but the individual tracks are in multiple folders sorted by artist/album/track. I have created a file collection "PlaylistFiles".

I eventually found the CLI editor to run a script and copied (afaik) the dopusrt.exe command to import the files via the list (from External Manipulation of File Collections in the manual). But after various attempts I am getting an error that I can't work out.

The script command is:
dopusrt.exe/col import/PlaylistFiles /"E:\OneDrive\MUSIC\1Playlists\1PossPartyMealtransfer.txt"

Error is below
image

I have spent a lot of time with no progress. Thanks for help - I have tried various edits with no success.

DOpusRT can be run from a button

or the DOS command line (or in a batch file):

You need a space between the exe name and the arguments. As it is in your code, it is trying to run a command called `dopusrt.exe/col”.

The error message has an arrow pointing at where the problem is.

That looks useful but you highlight a problem I've had before with this (helpful & responsive) forum. I often find posts begin one step ahead of where I am at. In this instance I can't seem to locate the command editor.

Thx John

Have a look in the FAQ

How to use buttons and scripts from this forum

and the docs:

Customize

Creating your own buttons

Advanced Command Editor

Still flagging an error

you need a space before / but no space between /and col as in /col

Most importantly, you need to stop using the CLI.

dopusrt.exe is an executable program, not a script command. You're trying to run it like it's jscript or vbscript.