Page 1 of 1

run NetworkAndSharingCenter & app

Posted: 12 Nov 2023 22:40
by swan_x
hi there,

i need to run NetworkAndSharingCenter window, then run another software
so, from 'User - Open' i've put this command:

Code: Select all

"<xy>" /feed="::runq 'C:\Windows\SysWOW64\control.exe /name Microsoft.NetworkAndSharingCenter';wait 500;runq 'D:\program:name.exe'
but this command does not work. same command from 'Scripting' work fine:

Code: Select all

run 'C:\Windows\SysWOW64\control.exe /name Microsoft.NetworkAndSharingCenter';wait 500;runq 'D:\program:name.exe'
so, how to run both from 'User - Open' ?

Re: run NetworkAndSharingCenter & app

Posted: 13 Nov 2023 17:31
by swan_x
ok, solved with run script command only (and assigned letter)

Regards

Re: run NetworkAndSharingCenter & app

Posted: 13 Nov 2023 17:38
by admin
You're welcome. :)

Re: run NetworkAndSharingCenter & app

Posted: 13 Nov 2023 19:34
by swan_x
welcome ... i'm old here. joined on 2009 ... but thanks anyway!

Re: run NetworkAndSharingCenter & app

Posted: 14 Nov 2023 08:28
by admin
That was a joke. You started it by closing with "Regards" to yourself. :beer:

Re: run NetworkAndSharingCenter & app

Posted: 14 Nov 2023 09:24
by swan_x
nope, my "Regards" It's for everyone who has viewed my thread, even if they haven't replied to it. It was a generic greeting because since I didn't have any other solutions from you, I thought it would be a good idea to close the topic with a "simple" run script

and again Regards to everybody (maybe now is more clear!)