If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
can't open .txt file from Windows Explorer
When I click on any .txt file in Explorer I get error message:
C:\My Cannot find this file Please verify that the correct path and filename are given The C:\My is supposed to be C:\My Documents\File folder\file.txt. If this is the problem how can I change the C:\My to C:\My Documents? In Explorer when I right click on the filename and choose Properties the dialog box shows the proper Location: C:\My Documents\File folder\File so apparently the proper information is in the file details. The files being opened are .txt files being opened with WordPad. |
#2
|
|||
|
|||
I assume that you always want WordPad to open .txt documents instead of
NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "jms" wrote in message ... When I click on any .txt file in Explorer I get error message: C:\My Cannot find this file Please verify that the correct path and filename are given The C:\My is supposed to be C:\My Documents\File folder\file.txt. If this is the problem how can I change the C:\My to C:\My Documents? In Explorer when I right click on the filename and choose Properties the dialog box shows the proper Location: C:\My Documents\File folder\File so apparently the proper information is in the file details. The files being opened are .txt files being opened with WordPad. |
#3
|
|||
|
|||
What is the significance of the "%1"? I already have everything but that.
"Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo |
#4
|
|||
|
|||
Also if I change C:\programs~~~Wordpad.exe in any way I get a message:
Cannot find program. "Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "jms" wrote in message ... When I click on any .txt file in Explorer I get error message: C:\My Cannot find this file Please verify that the correct path and filename are given The C:\My is supposed to be C:\My Documents\File folder\file.txt. If this is the problem how can I change the C:\My to C:\My Documents? In Explorer when I right click on the filename and choose Properties the dialog box shows the proper Location: C:\My Documents\File folder\File so apparently the proper information is in the file details. The files being opened are .txt files being opened with WordPad. |
#5
|
|||
|
|||
The %1 following the command tells it to open the file you clicked on after
the application launches. -- Gary S. Terhune MS MVP Shell/User "jms" wrote in message ... What is the significance of the "%1"? I already have everything but that. "Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo |
#6
|
|||
|
|||
Possibly, you haven't got WordPad installed. It's an optional item in
Add/Remove Program, Windows Setup tab, Accessories section (highlight Accessories and click on Details.) Use find to look for WordPad.exe. Does it exist on your machine? If so, what's the pull path to it? Note that normally, TXT files open with Notepad unless they are over 64KB, in which case you are prompted to use WordPad. Do you really want your TXT files associated with WordPad, or do you want things to be the way they're "supposed" to be? Note that editing certain types of plain text files in WordPad instead of Notepad, specifically system configuration files, scripts, etc., can cause them to not work anymore, since WordPad will insert formatting characters that mess things up if it's not set correctly. IOW, it's much safer to use Notepad for most TXT or other plain text files. -- Gary S. Terhune MS MVP Shell/User "jms" wrote in message ... Also if I change C:\programs~~~Wordpad.exe in any way I get a message: Cannot find program. "Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "jms" wrote in message ... When I click on any .txt file in Explorer I get error message: C:\My Cannot find this file Please verify that the correct path and filename are given The C:\My is supposed to be C:\My Documents\File folder\file.txt. If this is the problem how can I change the C:\My to C:\My Documents? In Explorer when I right click on the filename and choose Properties the dialog box shows the proper Location: C:\My Documents\File folder\File so apparently the proper information is in the file details. The files being opened are .txt files being opened with WordPad. |
#7
|
|||
|
|||
First, thank you for your help.
WordPad is installed. I can first open WordPad and then identify the file I want to open and it will open OK. It's only when I click on the file in Explorer that I have the problem. The files I have the problem with are information I have copied from the internet that has a little bit of formatting, tabs, spacing, etc., that I want to retain. I have been doing this so long I don't remember if I ever tried notpad. The only other thing I know is that if I copy the same information using Windows Internet Explorer it will not retain the formating, that is why I use the copy command in Firefox. Maybe this is the problem, however this works OK in windows XP but not the the machine I am currently using which is 98SE. Again, thanks. "Gary S. Terhune" wrote: Possibly, you haven't got WordPad installed. It's an optional item in Add/Remove Program, Windows Setup tab, Accessories section (highlight Accessories and click on Details.) Use find to look for WordPad.exe. Does it exist on your machine? If so, what's the pull path to it? Note that normally, TXT files open with Notepad unless they are over 64KB, in which case you are prompted to use WordPad. Do you really want your TXT files associated with WordPad, or do you want things to be the way they're "supposed" to be? Note that editing certain types of plain text files in WordPad instead of Notepad, specifically system configuration files, scripts, etc., can cause them to not work anymore, since WordPad will insert formatting characters that mess things up if it's not set correctly. IOW, it's much safer to use Notepad for most TXT or other plain text files. -- Gary S. Terhune MS MVP Shell/User |
#8
|
|||
|
|||
"jms" wrote in message ... First, thank you for your help. WordPad is installed. I can first open WordPad and then identify the file I want to open and it will open OK. It's only when I click on the file in Explorer that I have the problem. Does that apply to *all* TXT files you try to open by double-clicking? Also, you didn't tell me the full path to your WordPad.exe, to verify what command should be used in the FileType. The files I have the problem with are information I have copied from the internet that has a little bit of formatting, tabs, spacing, etc., that I want to retain. I have been doing this so long I don't remember if I ever tried notpad. The only other thing I know is that if I copy the same information using Windows Internet Explorer it will not retain the formating, that is why I use the copy command in Firefox. Maybe this is the problem, however this works OK in windows XP but not the the machine I am currently using which is 98SE. Again, thanks. If they include formatting, then they shouldn't be saved as TXT files. they should probably be saved as RTF or DOC. Tell you the truth, I'm a bit lost regarding what you're trying to do. Do you have an example web page I could look at? And can you tell me precisely what steps you use, both in IE and in FF? When I, for example, highlight stuff in IE and then Ctr-C to copy and Ctrl-V to paste into a new WordPad document, all formatting, links, etc., are fairly well maintained, with teh exception of image placeholders and tables getting out of whack. -- Gary S. Terhune MS MVP Shell/User "Gary S. Terhune" wrote: Possibly, you haven't got WordPad installed. It's an optional item in Add/Remove Program, Windows Setup tab, Accessories section (highlight Accessories and click on Details.) Use find to look for WordPad.exe. Does it exist on your machine? If so, what's the pull path to it? Note that normally, TXT files open with Notepad unless they are over 64KB, in which case you are prompted to use WordPad. Do you really want your TXT files associated with WordPad, or do you want things to be the way they're "supposed" to be? Note that editing certain types of plain text files in WordPad instead of Notepad, specifically system configuration files, scripts, etc., can cause them to not work anymore, since WordPad will insert formatting characters that mess things up if it's not set correctly. IOW, it's much safer to use Notepad for most TXT or other plain text files. -- Gary S. Terhune MS MVP Shell/User |
#9
|
|||
|
|||
What is the complete address (C:\programs~~~Wordpad.exe ) and where is
Wordpad.exe actually located. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "jms" wrote in message ... Also if I change C:\programs~~~Wordpad.exe in any way I get a message: Cannot find program. "Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "jms" wrote in message ... When I click on any .txt file in Explorer I get error message: C:\My Cannot find this file Please verify that the correct path and filename are given The C:\My is supposed to be C:\My Documents\File folder\file.txt. If this is the problem how can I change the C:\My to C:\My Documents? In Explorer when I right click on the filename and choose Properties the dialog box shows the proper Location: C:\My Documents\File folder\File so apparently the proper information is in the file details. The files being opened are .txt files being opened with WordPad. |
#10
|
|||
|
|||
can't open .txt file from Windows Explorer
Have you added the "%1" including the quote marks, to the command line, as
explained by Ron? What are the results? -- Glen Ventura, MS MVP Shell/User, A+ http://dts-l.org/goodpost.htm "jms" wrote in message ... What is the significance of the "%1"? I already have everything but that. "Ron Badour" wrote: I assume that you always want WordPad to open .txt documents instead of NotePad. If so, open Windows Explorer, click on view, folder options, file types tab and scroll down to Text Document. Double click "text document" and on the resulting screen, double click "open." In the application used box, paste this: C:\Progra~1\Access~1\WORDPAD.EXE "%1" and click OK and close up the screens. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WINDOWS GURU - DAN GOOKIN | AAH | General | 0 | June 22nd 05 09:37 AM |
Windows 98 Boot up problem due to ndiswan.vxd missing file | Martin Healy | Setup & Installation | 2 | May 4th 05 11:34 PM |
Need help with invalid page fault in module EXPLORER.EXE | rbryan | General | 13 | February 20th 05 07:39 AM |
error loading explorer.exe. SHLWAPI.dll | Gary | General | 4 | October 20th 04 04:08 AM |
Please help! Display settings !! | Mitzi | Monitors & Displays | 12 | July 11th 04 05:19 AM |