Page 1 of 1

Re: Does not run system commands without path and cannot use URLs

Posted: Fri Apr 13, 2018 9:35 pm
by RobLatour
Perhaps on your system c:\windows\system32 is not in your system path. You can check this by opening up a command prompt window (to do this press the windows key and the 'R' key at the same time, and in the pop-up box type "CMD" (without the quotes) and press enter. When the command window appears, just type "path" (without the quotes) and press enter. Next, check to see if in the long string that appears there is a reference to c:\windows\system32

Re: Does not run system commands without path and cannot use URLs

Posted: Sat Apr 14, 2018 8:06 am
by RobLatour
ok - thanks

if you go to the windows command line and at the c:\ prompt (while not in the c:/windows/system32 directory) and type calc and press enter does the windows calculator appear?

Re: Does not run system commands without path and cannot use URLs

Posted: Sun Apr 15, 2018 2:24 pm
by Endracion
Account got deleted so the other posts are lost, but to answer - yes, calculator does open from any folder location in cmd.

Re: Does not run system commands without path and cannot use URLs

Posted: Sun Apr 15, 2018 6:07 pm
by RobLatour
I'm not exactly sure of the issue yet, can you please try going into your Windows
Settings > Apps > Default Apps > Set defaults by app
and see if you have an entry in the list for 'Calculator' - if yes and the attached screenshot is what you should see.

Do you have such an entry?

(and again - sorry for inadvertently deleting your posts)

Re: Does not run system commands without path and cannot use URLs

Posted: Sun Apr 15, 2018 7:50 pm
by Endracion
I am on Windows 7 - but I just wanted to point out that this is not limited to calculator, any system command that you'd expect to work in cmd will just not work from push2run (the shutdown, eventvmr executable for example) - and URLs are the ones that would be especially useful and do not seem to run.

I believe that the equivalent in Windows 7 is Set Default Programs and there is no mention of calculator in there.

Re: Does not run system commands without path and cannot use URLs

Posted: Sun Apr 15, 2018 11:09 pm
by RobLatour
I don't have any Windows 7 machines left, but what happens if you put the full path name and filename in the open field?

Also, for urls, you should be able to put the full path and file name of your browser in the open field and the url to open in the parameters field.

Does this work for you?

Re: Does not run system commands without path and cannot use URLs

Posted: Tue Apr 17, 2018 12:27 pm
by Endracion
I did mention that providing the full path did work, sorry, it was in the original post which got deleted.
Thanks for clarifying what to do with URLs - providing the full chrome path in Open and then the URL string in Parameters has worked.
I guess this will have to do for the time being - thanks for your help.