Jan-11-2020, 05:07 PM
(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Your script extracts file paths from shortcuts?my script ask the user a path (example: "C:\Users\Pippo\Desktop\file.txt") because it needs to know where is a specific text file. then it will read it and produce a new file. to give the specific path to my script, you have two choises, the first one is write by hand it in the cmd terminal, the second one instead is drag and drop the file in the cmd terminal. the second one is easier and simpler then the first one, but it works only if I run, let me say, the ".py" version of my script. the drag and drop doesn't work if I use the ".exe" version of my script.
How does it do this?
(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: In what OS? Assuming Windows because cmd and exeWindows 10 Professional, x64
(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Why use the terminal? Can't you create a special window for this that will work regardless of how the program is stored?my script don't have a GUI, it's just a CLI script. when you open it you will see the cmd terminal.
(Jan-11-2020, 03:52 PM)Clunk_Head Wrote: Why does it need to be an exe?because I have to use it on different PC without python installed.