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.


Chris Angelico? 2018?10?12???? UTC+8??4?39?37????
> 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

After using Windows so many years, I don't know this trick the double quotes and tab can do in the shell. It really embarrass me:-(  Thanks you, Chris.

--Jach