whenever i double-click filename.txt file to open it, i get prompted by textpad to create a file called 'and' and 'filename' (filename changes with whatever file i try to open). example: if i try to open blah.txt, textpad prompts me to create a file called 'and' and 'blah'.
the error windows say 'OK to create' and then the path to the file.
this is really weird because it just started happening and only happens when i try to open a file by double-clicking it. i don't have any problems if i open a .txt file using the file > open command in textpad or even if i use the right-click context menu.
i've checked the file type properties in tools > folder options > file types and the open command uses this: "C:\Program Files\TextPad 4\TextPad.exe" %1
what does the %1 at the end mean?
any ideas?? tia!
problem when opening file...
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
It is just a wild card that represents the selected file name.what does the %1 at the end mean?
Note from the TextPad Help File, Command Line Parameters that the correct syntax for TextPad is -u filename.
-u filename: Open the file, whose name can contain spaces, but does not need to be quoted.
Hope this was helpful.............good luck,
Bob
Bob