필터 지우기
필터 지우기

Shell Application "Paste" Command

조회 수: 4 (최근 30일)
Afzal
Afzal 2020년 2월 21일
댓글: Walter Roberson 2020년 2월 22일
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'.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by