A Windows 98 & ME forum. Win98banter

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.

Go Back   Home » Win98banter forum » Windows 98 » Disk Drives
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

can't open .txt file from Windows Explorer



 
 
Thread Tools Display Modes
  #1  
Old October 11th 05, 04:33 PM
jms
external usenet poster
 
Posts: n/a
Default 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  
Old October 11th 05, 05:31 PM
Ron Badour
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 06:08 PM
jms
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 06:13 PM
jms
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 06:44 PM
Gary S. Terhune
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 06:50 PM
Gary S. Terhune
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 07:31 PM
jms
external usenet poster
 
Posts: n/a
Default

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  
Old October 11th 05, 09:19 PM
Gary S. Terhune
external usenet poster
 
Posts: n/a
Default


"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  
Old October 11th 05, 10:10 PM
Ron Badour
external usenet poster
 
Posts: n/a
Default

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  
Old October 16th 05, 06:59 AM
glee
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 08: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


All times are GMT +1. The time now is 11:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.