TXT wrongly opens in Notepad?

T

Terry Pinnell

I used Scheduled Tasks to add a new task, entering the 'program' in the
form c:\xyz.txt.

I have TXT types associated with TextPad, and all such files open
correctly in that from an XP folder and all other situations.

So I was surprised when my task opened it in Notepad.

I worked around it by using
"C:\Program Files\TextPad 4\TextPad.exe" c:\xyz.txt

But I'm curious to know why that's needed please?
 
G

GS

It happens that Terry Pinnell formulated :
I used Scheduled Tasks to add a new task, entering the 'program' in the
form c:\xyz.txt.

I have TXT types associated with TextPad, and all such files open
correctly in that from an XP folder and all other situations.

So I was surprised when my task opened it in Notepad.

I worked around it by using
"C:\Program Files\TextPad 4\TextPad.exe" c:\xyz.txt

But I'm curious to know why that's needed please?

David's suggestion works for me! BTW, TextPad is now at version 5.4.2!

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
 
U

Uwe Sieber

Terry said:
I used Scheduled Tasks to add a new task, entering the 'program' in the
form c:\xyz.txt.

I have TXT types associated with TextPad, and all such files open
correctly in that from an XP folder and all other situations.

So I was surprised when my task opened it in Notepad.

I worked around it by using
"C:\Program Files\TextPad 4\TextPad.exe" c:\xyz.txt

But I'm curious to know why that's needed please?

Maybe the task scheduler does not determine the associated
application in the user's context but in the "Local System"
context. There are the Windows defaults only which is
Notepad for TXT. Just a guess.

Uwe
 
T

Terry Pinnell

Uwe Sieber said:
Maybe the task scheduler does not determine the associated
application in the user's context but in the "Local System"
context. There are the Windows defaults only which is
Notepad for TXT. Just a guess.

Uwe

Thanks Uwe, that sounds the likely explanation.

David, Garry: I don't think you can have properly read my query. There was
more to it than the subject!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top