MoI discussion forum
MoI discussion forum

Full Version: Get list of subfolders

Show messages: All  1-5  6-7

From: Michael Gibson
8 Jan 2020   [#6] In reply to [#4]
Hi Quaritexa,

re:
> But it displays the shell window. How to suppress it?

A couple of possibilities here:
https://superuser.com/questions/191149/how-to-execute-cmd-exe-silently

Maybe this one:
http://www.joeware.net/freetools/tools/quiet/

- Michael
From: vector illustrator (QUARITEXA)
9 Jan 2020   [#7] In reply to [#6]
Thank you, Michael.

I chose this one:
code:
var pd = moi.filesystem.getProcessDir();
var cd = moi.filesystem.getCommandsDir(); 
moi.filesystem.shellExecute(pd + 'nircmd', 'exec hide cmd.exe /c dir /a:d /b /o:n '+ cd + '> '+ cd + 'dir.tmp');

Show messages: All  1-5  6-7