osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to run/debug a script file its name has characters such as space, (, etc.


On Fri, Oct 12, 2018 at 6:26 PM <jfong at ms4.hinet.net> wrote:
>
> I saw a directory where all its filenames are something like this:
> ...
> 1a PSG (Entry and PopUp).py
> 1b PSG (Format).py
> 1c PSG (persistent form and bind key).py
> ...
>
> Just wondering how these file can run and debugged under Windows?
>

Put the file name inside double quotes. You can probably do this by
tab-completing the name - type 1c and then hit the tab key - your
shell should fill out the rest of the name with whatever quoting is
necessary.

ChrisA