OK TO CREATE message with spaces in path

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Richard Kooistra

OK TO CREATE message with spaces in path

Post by Richard Kooistra »

I have an annoying problem that seems to crop up when double-clicking an associated .HTM file. If the path that the file resides in contains spaces (i.e. c:\home\spaced out\version1\take one\index.htm) in the folder names then Textpad will prompt me with the with a dialogue box for every space that says for instance "OK to create "c:\home\spaced out"?, followed by "OK to create "c:\home\spaced out\version1\take"? etc. and the end result is that the file does not open in the editor.

If I drag and drop the file from the path with spaces to Textpad it opens fine. If I Click FILE and OPEN and navigate to the file, it opens fine.

It is great that I have the options that work but 90% of my daily tasks require that I be navigating folders and opening files and the easiest way to do this I find is to simply double-click on the file and have it open in the editor. NOTE - if the path contains no spaces then double-clicking the file opens it in Textpad with no problems.

Any assistance in resolving this annoyance would be much appreciated.
Thanks in advance,
Richard
Andreas

Re: OK TO CREATE message with spaces in path

Post by Andreas »

Change the setting of "allow multiple file names on command line"
Jeff Epstein

Re: OK TO CREATE message with spaces in path

Post by Jeff Epstein »

Or, go to a Windows folder (any one), and go to the Tools menu > Folder Options > File Types > [file type referring to TextPad] > Advanced... > Select "open", and then click the EDIT button.

Add double quotes around %1, which facilitates spaces in the file name.

These specific instructions are for Windows 2000. With other operating systems, it may be slightly different to get to this same dialog.

And I'm not sure how this affects trying to open multiple files...just another idea for you to try.
Post Reply