xy not responding when running this runret command

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

xy not responding when running this runret command

Post by yusef88 »

why?

Code: Select all

"Mount all-DiskCryptor|cmd" runret ("cmd /k ""C:\Program Files\dcrypt\dccon.exe"" -mountall");

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: xy not responding when running this runret command

Post by highend »

/k... -> /c

runret will wait forever on /k...

Is there a reason why you don't call dccon.exe directly instead of a starting a cmd.exe in runret?
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: xy not responding when running this runret command

Post by yusef88 »

thanks for hint and I found run "instead of runret" works fine for me

Code: Select all

Is there a reason why you don't call dccon.exe directly instead of a starting cmd?
dccon.exe is the console version of the program and it's faster than graphical interface

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: xy not responding when running this runret command

Post by highend »

dccon.exe is the console version of the program and it's faster than graphical interface
That's not what I meant...

Why didn't you just use this the first place (where I expected that you want to gather it's output)?

Code: Select all

runret ("""C:\Program Files\dcrypt\dccon.exe"" -mountall");
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: xy not responding when running this runret command

Post by yusef88 »

highend wrote:
Why didn't you just use this the first place (where I expected that you want to gather it's output)?

Code: Select all

runret ("""C:\Program Files\dcrypt\dccon.exe"" -mountall");
1-The requested operation requires elevation
2-after elevating xy, no command prompt pops up to enter password so xy keeps not responding
To see the attached files, you need to log into the forum.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: xy not responding when running this runret command

Post by highend »

ic. runret is there to not show any gui but to run things backgrounded and gather their output. the simple run ... is the correct command in your case.
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: xy not responding when running this runret command

Post by yusef88 »

yes,thanks :beer:

Post Reply