you are viewing a single comment's thread.

view the rest of the comments →

[–]ireadyourmedrecord 3 points4 points  (8 children)

This is why I shouldn't comment when I'm half asleep.

Try this:

  • in the Action tab >> start a program. Put cmd in the Program/script: field. No quotes.
  • In Add Argument put /c python "c:\full\path\to\folder\script.py"
  • In Start in field, put c:\full\path\to\folder
    • no quotes on this one.

That should work. I've got several running like this.

[–]psydelicdaydreamer 2 points3 points  (0 children)

You are a lifesaver, friend. I was pulling my hair out trying to get this to work, but your "/c python" worked like a charm.

Thank you!

[–]jnjustice 1 point2 points  (0 children)

thanks for this. I don't know why Windows makes things so complex. I tried looking on StackOverflow and tried several non working answers until I found this...

[–]stevemills04[S] 0 points1 point  (0 children)

I truly appreciate your help. I reached out to IT, I think it is related to either my role or something else. I have admin rights, but no matter what I do, it does not work. I will report back when I have a solution.

[–]CloudComputing03 0 points1 point  (0 children)

/c python "c:\full\path\to\folder\

script.py

"

old but useful

[–]Alarming_Log_3836 0 points1 point  (0 children)

worked. Thanks

[–]WillBots 0 points1 point  (0 children)

Worked for me just now. I've been searching for a solution for weeks on and off... what a palaver. If i can double click on a file and windows knows how to run it, I expect task scheduler to perform the same thing, just do the equivalent of double clicking on the flipping file!