Combination of @sync and @admin

hi,i wrote the command inside the buttons to run as an administrator as below:

cd "C:\Users\FNGeek\Backup\Nominal"
@admin:"C:\Users\FNGeek\Backup\Nominal\filelist.bat"

But when i drag a bat file to the toolbar, the @sync command is automatically added

I searched the document, but nothing was written about this command

My question is, if I remove @sync, will there be a problem? I just want the bat file to run as administrator
That is, my current command is as follows :

cd "C:\Users\FNGeek\Backup\Nominal"
@admin:"C:\Users\FNGeek\Backup\Nominal\filelist.bat"

It's documented here: Command modifier reference [Directory Opus Manual]

(I think Dokuwiki has issues if you search for things that start with @.)

Removing it from the command shouldn't cause a problem.

1 Like