Can't recognize system variable

Discussion, questions and support.
Post Reply
m200890234
Posts: 22
Joined: Dec 6th, ’23, 04:12

Post by m200890234 » Aug 20th, ’24, 10:18

Run, C:\Users\XT\AppData\Local\Programs\Python\Python312\python.exe "E:\Mervyn\Python scripts\data_export.py", , Hide
This works fine in Fastkeys.

python "E:\Mervyn\Python scripts\data_export.py"
This works fine in cmd window.

Run, python "E:\Mervyn\Python scripts\data_export.py", , Hide
But when I try this in Fastkeys, it reports can't find file.

It looks the system variable for python is not recgonize. Are there any extra things I need to do?
User avatar
Tom
Posts: 917
Joined: Nov 24th, ’15, 23:39

Post by Tom » Aug 21st, ’24, 19:22

Does this work?
Run, %ComSpec% /k python "E:\Mervyn\Python scripts\data_export.py"
Post Reply