Export Wallet error

Hello,

I’m new here and have some trouble backuping my wallet :

C:\Program Files (x86)\Zclassic>zcash-cli.exe dumpwallet mywallet
error: {“code”:-4,“message”:“Cannot export wallet until the zcashd -exportdir option has been set”}

C:\Program Files (x86)\Zclassic>zcashd -exportdir .\export
Error: There is no RPC client functionality in zcashd. Use the zcash-cli utility instead.

I’m a bit stuck here, can you help ?

Thanks

Please can anyone give me an advice ?

I don’t understand what I’m doing wrong and haven’t found relevant answers in the forum.

Thank you