Shell Application "Paste" Command

I would like to exexcute a paste command through the Shell applicaiton. I'm trying to replicate the VBA command
CreateObject("Shell.Application").Namespace(CVar(DestinationFolder)).self.InvokeVerb "Paste"
I've currently got the following:
objShell = actxserver('Shell.Application');
DestinationFolder = 'C:\';
objFolder = objShell.NameSpace(DestinationFolder);
objFolderItem = objFolder.Self;
But I'm getting the error
Undefined function or variable 'Self'.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler SDK dans Centre d'aide et File Exchange

Produits

Question posée :

le 21 Fév 2020

Commenté :

le 22 Fév 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by