Topic: Use Parameters of External Program Inside MVD ??

Hi Everyone,

Just out of curiosity, is it possible to pass the parameters to functions inside of MVD from external programs?  For example,
to use the ROBOCOPY command and have variables inside the script of MVD pass the values of parameters to then
execute the external command ROBOCOPY with such arguments?  Let me know if I wasn't clear on my question.  I'm just
trying to se if it's possible to create a User Profile BACKUP/RESTORE utility using MVD and the ROBOCOPY command.

Thanks!

Re: Use Parameters of External Program Inside MVD ??

Hello.


Yes you can, an example (how to open folder and select a file using parameters for explorer.exe):

OpenFile('/select, "d:\filename.jpg"', 'explorer.exe'); 

with variable:

sParams := '/select, "d:\filename.jpg"';
OpenFile(sParams, 'explorer.exe');
Dmitry.

Re: Use Parameters of External Program Inside MVD ??

DriveSoft wrote:

Hello.


Yes you can, an example (how to open folder and select a file using parameters for explorer.exe):

OpenFile('/select, "d:\filename.jpg"', 'explorer.exe'); 

with variable:

sParams := '/select, "d:\filename.jpg"';
OpenFile(sParams, 'explorer.exe');

Thanks Dimitry, will report with resutls. smile