Borrar filtros
Borrar filtros

Shell Application "Paste" Command

4 visualizaciones (últimos 30 días)
Afzal
Afzal el 21 de Feb. de 2020
Comentada: Walter Roberson el 22 de Feb. de 2020
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'.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by