hi, i want run D:\apps\PotPlayer\KillPot64.exe through cmd.... but with script:
run "cmd D:\apps\PotPlayer\KillPot64.exe";
don't work...! what is correct syntax??
about simple run cmd
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: about simple run cmd
Code: Select all
run "D:\apps\PotPlayer\KillPot64.exe";viewtopic.php?f=7&t=19045#p159746
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: about simple run cmd
yes ok, sorry... but last time it's for taskill process...!
and run ".....exe" from xy it's the same of run cmd ....exe???
and run ".....exe" from xy it's the same of run cmd ....exe???
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: about simple run cmd
yes I had thought this too... but i want run exe through cmd...jupe wrote:Code: Select all
run "D:\apps\PotPlayer\KillPot64.exe";
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: about simple run cmd
Thats why I linked to the other thread, in which you were shown how to run apps through cmd.
I don't understand what you are asking, cmd is only needed for windows internal cmds if that's what you are trying to ask.
See how this:
could become this?
if that is what you are wanting to do, but is is unnecessary.
I don't understand what you are asking, cmd is only needed for windows internal cmds if that's what you are trying to ask.
See how this:
Code: Select all
run """cmd"" /c TASKKILL /IM adb.exe /f";Code: Select all
run """cmd"" /c D:\apps\PotPlayer\KillPot64.exe";-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: about simple run cmd
run "D:\apps\PotPlayer\KillPot64.exe";
it's the same of start - cmd - D:\apps\PotPlayer\KillPot64.exe ??
it's the same of start - cmd - D:\apps\PotPlayer\KillPot64.exe ??
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: about simple run cmd
after various research (since the forum was under maintenance) this was what i wanted:
run "cmd /c ""D:\apps\PotPlayer\KillPot64.exe /F"""
run "cmd /c ""D:\apps\PotPlayer\KillPot64.exe /F"""
XYplorer Beta Club