473,507 Members | 5,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows easier to use...

I'm online at the moment, trying to help someone with a programming
problem. His code, which isn't as bad as it could be, is trying to open a
file "file.in".

The file exists, is called "file.in" and is in the right place - but the
code won't open it - can't find the file.

Say what? Can't find the file? But it's right there, with the right
name, so why can't it find it?

Some poking around reveals the problem. First, the file was created with
notepad - which insists upon appending a .txt to everything. Fine so
far... but Windows Explorer *shows* the file as being simply "file.in" -
because the default setting is to hide file extensions.

So the user _sees_ "file.in" and can't tell what's going wrong - the fact
that the file is actually called "file.in.txt" and will never be found
with his application.

Ah, ease of use. Doesn't get any better than this.
Nov 13 '05 #1
30 2264
On Mon, 21 Jul 2003 21:52:33 -0700, Kelsey Bjarnason wrote:

Arrgh. What is with this newsreader? Twice in one week, the post goes to
the wrong newsgroup... sigh.
Nov 13 '05 #2
Kelsey Bjarnason wrote:
I'm online at the moment, trying to help someone with a programming
problem. His code, which isn't as bad as it could be, is trying to open a
file "file.in".
Does it exist?

The file exists,
Sure about that?
is called "file.in"
Sure about that?
and is in the right place - but the
code won't open it - can't find the file.
Perhaps it doesn't exist, at least not by that name.
Say what? Can't find the file? But it's right there, with the right
name, so why can't it find it?
Perhaps it doesn't have the right name after all.
Some poking around reveals the problem. First, the file was created with
notepad - which insists upon appending a .txt to everything.
Suggested fix: remove notepad from your computer system.
Fine so
far... but Windows Explorer *shows* the file as being simply "file.in" -
because the default setting is to hide file extensions.
Suggested fix: remove Windows Explorer from your computer system.
So the user _sees_ "file.in" and can't tell what's going wrong - the fact
that the file is actually called "file.in.txt" and will never be found
with his application.
Write him a decent text editor. Well, a text editor better than Notepad.
This is strictly a two-banana problem.
Ah, ease of use. Doesn't get any better than this.


Oh, but my dear chap, it does; it really, really does. Vastly better.
Incomparably better.

Yesterday, I picked up a new computer for my sister, and set it up for her.
We were horrified to discover that the operating system insisted on an
Internet connection so that it could phone home. Since my sister doesn't
/have/ an Internet connection, she has two choices - get one, in the next
thirty days, or have an operating system, that she has paid for, refuse to
"work" any more.

Unfortunately, she's already invested quite a lot of money in buying Windows
applications, so she's more or less locked in already.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #3
MG
Well...the solution is that the file has the icon of that of a notepad ( or
that of the default pgm to open the .txt files)...
this is a common thing that pops up...

"Kelsey Bjarnason" <ke*****@xxnospamyy.lightspeed.bc.ca> wrote in message
news:pa****************************@xxnospamyy.lig htspeed.bc.ca...
I'm online at the moment, trying to help someone with a programming
problem. His code, which isn't as bad as it could be, is trying to open a
file "file.in".

The file exists, is called "file.in" and is in the right place - but the
code won't open it - can't find the file.

Say what? Can't find the file? But it's right there, with the right
name, so why can't it find it?

Some poking around reveals the problem. First, the file was created with
notepad - which insists upon appending a .txt to everything. Fine so
far... but Windows Explorer *shows* the file as being simply "file.in" -
because the default setting is to hide file extensions.

So the user _sees_ "file.in" and can't tell what's going wrong - the fact
that the file is actually called "file.in.txt" and will never be found
with his application.

Ah, ease of use. Doesn't get any better than this.

Nov 13 '05 #4
<off-topic>

"Richard Heathfield" <in*****@address.co.uk.invalid> wrote in message
news:3f******@news2.power.net.uk...
Kelsey Bjarnason wrote:
Some poking around reveals the problem. First, the file was created
with notepad - which insists upon appending a .txt to everything.
Suggested fix: remove notepad from your computer system.
Fine so far... but Windows Explorer *shows* the file as being simply
"file.in" - because the default setting is to hide file extensions.


Suggested fix: remove Windows Explorer from your computer system.


I think I have a better solution:

In Windows 2000:

1. Select Start->Settings->Control Panel.
2. Double-click on "Folder Options."
3. Select the "View" tab.
4. Uncheck "Hide file extensions for known file types."

In Windows XP:

1. Select Start->Control Panel.
2. Select "Appearance and Themes."
3. Select "Folder Options."
4. Select the "View" tab.
5. Uncheck "Hide file extensions for known file types."

Definitely an irritating default setting. I've known several students who
have experienced exactly the same problem Kelsey did.
Yesterday, I picked up a new computer for my sister, and set it up for
her. We were horrified to discover that the operating system insisted on
an Internet connection so that it could phone home. Since my sister
doesn't /have/ an Internet connection, she has two choices - get one, in
the next thirty days, or have an operating system, that she has paid for,
refuse to "work" any more.


Are you talking about Windows XP and the "product activation" system? If
so, your sister does not have to have an Internet connection. See Myth #4
on this page:

http://www.microsoft.com/piracy/basi...tion/myths.asp

"Product Activation provides two methods to activate: Internet and
telephone. The Internet method requires that the PC be able to make a
connection to the Internet. The telephone method requires the user to
provide information to a customer service representative over the
telephone."

</off-topic>

--
Russell Hanneken
rh*******@pobox.com
Nov 13 '05 #5
Russell Hanneken <rh*******@pobox.com> scribbled the following:
<off-topic> "Richard Heathfield" <in*****@address.co.uk.invalid> wrote in message
news:3f******@news2.power.net.uk...
Yesterday, I picked up a new computer for my sister, and set it up for
her. We were horrified to discover that the operating system insisted on
an Internet connection so that it could phone home. Since my sister
doesn't /have/ an Internet connection, she has two choices - get one, in
the next thirty days, or have an operating system, that she has paid for,
refuse to "work" any more.
Are you talking about Windows XP and the "product activation" system? If
so, your sister does not have to have an Internet connection. See Myth #4
on this page: http://www.microsoft.com/piracy/basi...tion/myths.asp "Product Activation provides two methods to activate: Internet and
telephone. The Internet method requires that the PC be able to make a
connection to the Internet. The telephone method requires the user to
provide information to a customer service representative over the
telephone." </off-topic>


And how would the Windows itself know that the information has been
provided, if there's no possibility of a data connection between it and
Microsoft? You could give your bank account number and bank card PIN to
Microsoft, and tell them it's all right to empty your whole bank account
into their pockets, and the Windows would be none the wiser, and accuse
you of stealing it.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"A computer program does what you tell it to do, not what you want it to do."
- Anon
Nov 13 '05 #6
"Joona I Palaste" <pa*****@cc.helsinki.fi> wrote:
And how would the Windows itself know that the information has been
provided, if there's no possibility of a data connection between it and
Microsoft?


The client software generates a unique identifier for the particular
installation of Windows by looking at the CD Key, the timestamp plus
the hardware environment. You quote the unique identifier to the
phone operator who enters it into his/her terminal. Once you have
been identified and registered, the server generates the unlock code
corresponding to the given unique identifier. The phone operator
relays this back to the customer, who enters it into the text field
in the registration wizard.

This could link with public/private key cryptography -- the unlock
code is generated by microsoft encrypting the unique identifier with
its private key, and every copy of Windows contains the public key
with which it verifies the unlock code.

When the client validates that the unlock code matches the unique
identifier, if so, it knows that Microsoft generated it and so the
information has been provided.

--
Simon.
Nov 13 '05 #7

On Tue, 22 Jul 2003, Richard Heathfield wrote:

Kelsey Bjarnason wrote:

Some poking around reveals the problem. First, the file was created
with notepad - which insists upon appending a .txt to everything.


Suggested fix: remove notepad from your computer system.
Fine so
far... but Windows Explorer *shows* the file as being simply "file.in"
- because the default setting is to hide file extensions.


Suggested fix: remove Windows Explorer from your computer system.
So the user _sees_ "file.in" and can't tell what's going wrong - the fact
that the file is actually called "file.in.txt" and will never be found
with his application.


Write him a decent text editor. Well, a text editor better than Notepad.
This is strictly a two-banana problem.


Hmm. Judging from the popularity of Emacs, are you sure it's not
simply a "banana" problem?

http://wombat.doc.ic.ac.uk/foldoc/fo...banana+problem

-Arthur, poor fool,
who uses Notepad and likes it
Nov 13 '05 #8
# Some poking around reveals the problem. First, the file was created with
# notepad - which insists upon appending a .txt to everything. Fine so
# far... but Windows Explorer *shows* the file as being simply "file.in" -
# because the default setting is to hide file extensions.

MacOSX added a similar feature. The theory is that people are using double
clicks and drag-drops to pass file paths to programs instead of typing in
the file paths. That way the user doesn't need to know the actual file
path.

--
Derk Gwen http://derkgwen.250free.com/html/index.html
The whole world's against us.
Nov 13 '05 #9
# > an Internet connection so that it could phone home. Since my sister
# > doesn't /have/ an Internet connection, she has two choices - get one, in
# > the next thirty days, or have an operating system, that she has paid for,
# > refuse to "work" any more.

# http://www.microsoft.com/piracy/basi...tion/myths.asp

Is that information available without making an internet connection?

--
Derk Gwen http://derkgwen.250free.com/html/index.html
So basically, you just trace.
Nov 13 '05 #10
"Russell Hanneken" <rh*******@pobox.com> wrote:
"Richard Heathfield" <in*****@address.co.uk.invalid> wrote in message
news:3f******@news2.power.net.uk...
Yesterday, I picked up a new computer for my sister, and set it up for
her. We were horrified to discover that the operating system insisted on
an Internet connection so that it could phone home. Since my sister
doesn't /have/ an Internet connection, she has two choices - get one, in
the next thirty days, or have an operating system, that she has paid for,
refuse to "work" any more.


Are you talking about Windows XP and the "product activation" system? If
so, your sister does not have to have an Internet connection. See Myth #4
on this page:

http://www.microsoft.com/piracy/basi...tion/myths.asp


Are we supposed to trust a page that states, amongst others, "Microsoft
absolutely respects the privacy of its customers"? 'Cause I don't, no
matter how pleasantly they smirk.

Richard
Nov 13 '05 #11
In <pa****************************@xxnospamyy.lightsp eed.bc.ca> Kelsey Bjarnason <ke*****@xxnospamyy.lightspeed.bc.ca> writes:
On Mon, 21 Jul 2003 21:52:33 -0700, Kelsey Bjarnason wrote:

Arrgh. What is with this newsreader? Twice in one week, the post goes to
the wrong newsgroup... sigh.


Is it the newsreader or is it you? ;-)

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #12
Joona I Palaste wrote:

And how would the Windows itself know that the information has been
provided, if there's no possibility of a data connection between it and
Microsoft? You could give your bank account number and bank card PIN to
Microsoft, and tell them it's all right to empty your whole bank account
into their pockets, and the Windows would be none the wiser, and accuse
you of stealing it.

Aw, c'mon ! Don't be ingenuous.
Microsoft might have debatable business practices, but they're no fool
as far as software development is concerned.
--
Bertrand Mollinier Toublet
"No sea vivo, Buendia" -- El presidente del tribunal,
in Cien anos de soledad, de Gabriel Garcia Marquez

Nov 13 '05 #13
Kelsey Bjarnason wrote:
I'm online at the moment, trying to help someone with a programming
problem. His code, which isn't as bad as it could be, is trying to open a
file "file.in".

The file exists, is called "file.in" and is in the right place - but the
code won't open it - can't find the file.

Say what? Can't find the file? But it's right there, with the right
name, so why can't it find it?

Some poking around reveals the problem. First, the file was created with
notepad - which insists upon appending a .txt to everything.


<OT>
It is rumored that enclosing the file name in "" in the save as dialog will
prevent notepad from adding the .txt.
<\OT>

Tobias

--
unix http://www.faqs.org/faqs/by-newsgrou...rogrammer.html
clc http://www.eskimo.com/~scs/C-faq/top.html
fclc (french): http://www.isty-info.uvsq.fr/~rumeau/fclc/
Nov 13 '05 #14
In <vh************@corp.supernews.com> Derk Gwen <de******@HotPOP.com> writes:
# Some poking around reveals the problem. First, the file was created with
# notepad - which insists upon appending a .txt to everything. Fine so
# far... but Windows Explorer *shows* the file as being simply "file.in" -
# because the default setting is to hide file extensions.

MacOSX added a similar feature. The theory is that people are using double
clicks and drag-drops to pass file paths to programs instead of typing in
the file paths. That way the user doesn't need to know the actual file
path.


And it makes sense. The default settings are supposed to be optimised for
the average user, not for programmers. And the average Windows/MacOS
users are not supposed to ever type a file name (except when creating
their own files).

I have very little sympathy for people who want to program on a platform
*before* becoming *competent* users of that platform. Once you're a
competent user, you can alter the default settings in whatever way suits
your needs best and the original problem simply goes away.

I'm far from being a competent Windows user, yet one of the first things
I've changed on my installation was the hidden file extensions. Soon
after that, I've also enabled the listing of "hidden" files and
directories.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #15

"Dan Pop" <Da*****@cern.ch> wrote in message

I have very little sympathy for people who want to program on a platform
*before* becoming *competent* users of that platform.

Maybe you'll have some sympathy for me. We signed a contract for a prototype
(chargeable demo) of a racing game. Management had no way of knowing whether
that concept would be signed or not.
Absolutely vital to the game was a track editor that would allow us to
create and modify tracks easily. So someone had to produce an editor in
double quick time.
Now I had just finished work on the Sega Saturn. For market reasons, Saturn
development came to an end. So I receive orders to develop a track editor as
a 3ds max plug-in, despite having no experience of Windows programming and
despite not knowing 3ds Max.
These things happen, particularly in small companies. Ideally we'd have got
an experienced Windows programmer to do it, but I happened to be the person
most available.
Nov 13 '05 #16
Malcolm <ma*****@55bank.freeserve.co.uk> scribbled the following:
"Dan Pop" <Da*****@cern.ch> wrote in message
I have very little sympathy for people who want to program on a platform
*before* becoming *competent* users of that platform.

Maybe you'll have some sympathy for me. We signed a contract for a prototype
(chargeable demo) of a racing game. Management had no way of knowing whether
that concept would be signed or not.
Absolutely vital to the game was a track editor that would allow us to
create and modify tracks easily. So someone had to produce an editor in
double quick time.
Now I had just finished work on the Sega Saturn. For market reasons, Saturn
development came to an end. So I receive orders to develop a track editor as
a 3ds max plug-in, despite having no experience of Windows programming and
despite not knowing 3ds Max.
These things happen, particularly in small companies. Ideally we'd have got
an experienced Windows programmer to do it, but I happened to be the person
most available.


I sometimes get selected to use a certain technology, even if I have no
previous experience with it. But these technologies are usually simple
stuff like XSLT, not an entirely new operating system API (or in a worst
case, an entirely new computer architecture) like Windows or the Sega
Saturn. So I usually learn the basics in about a week.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"That's no raisin - it's an ALIEN!"
- Tourist in MTV's Oddities
Nov 13 '05 #17
Dan Pop wrote:

<snip>

[...] The default settings are supposed to be optimised for
the average user, not for programmers. And the average Windows/MacOS
users are not supposed to ever type a file name (except when creating
their own files).

I have very little sympathy for people who want to program on a platform
*before* becoming *competent* users of that platform. Once you're a
competent user, you can alter the default settings in whatever way suits
your needs best and the original problem simply goes away.
/One/ of the original problems, in this case. The other - the problem of
Notepad appending an extension of .txt - can be solved with a little care,
by saving via the *.* "template" (or whatever the word is) rather than
*.txt, and surrounding the filename in "quotation.marks".
I'm far from being a competent Windows user, yet one of the first things
I've changed on my installation was the hidden file extensions. Soon
after that, I've also enabled the listing of "hidden" files and
directories.


Quite so. In fact, IIRC just about all the default Explorer settings are
"wrong" (as far as I'm concerned), and it is indeed a good idea to hack
them into shape just as soon as the installation process is finally
complete.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #18
Richard Heathfield wrote:
Some poking around reveals the problem. First, the file was
created with notepad - which insists upon appending a .txt to
everything.
Suggested fix: remove notepad from your computer system.


Alternate suggestion: Putting quotes around any filename prevents
NOTEPAD from doing that.
Fine so far... but Windows Explorer *shows* the file as being
simply "file.in" - because the default setting is to hide file
extensions.


Suggested fix: remove Windows Explorer from your computer system.


[grin] Less extreme suggestion: change the default. Programmers
should probably see the whole filename anyway.

Well, a text editor better than Notepad.


IOW, nearly *anything* else! ;-)
--
|_ CJSonnack <Ch***@Sonnack.com> _____________| How's my programming? |
|_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL |
|_____________________________________________|___ ____________________|
Nov 13 '05 #19
"Derk Gwen" <de******@HotPOP.com> wrote in message
news:vh************@corp.supernews.com...

# http://www.microsoft.com/piracy/basi...tion/myths.asp

Is that information available without making an internet connection?


Yes, of course. Checking my wife's laptop, I see that the information is in
the Windows help files. Plus there's a product activation wizard--I would
guess the information is also there, though my wife hasn't given me enough
access to run the program. :^( It wouldn't surprise me if Windows XP also
came with paper documentation that discusses activation by phone.

Regards,

Russell Hanneken
rh*******@pobox.com
Nov 13 '05 #20
"Richard Bos" <rl*@hoekstra-uitgeverij.nl> wrote in message
news:3f****************@news.nl.net...
"Russell Hanneken" <rh*******@pobox.com> wrote:
Are you talking about Windows XP and the "product activation" system?
If so, your sister does not have to have an Internet connection. See
Myth #4 on this page:

http://www.microsoft.com/piracy/basi...tion/myths.asp


Are we supposed to trust a page that states, amongst others, "Microsoft
absolutely respects the privacy of its customers"?


You mean you think there's a good chance Microsoft might be lying when they
say you can activate Windows XP by phone?

Regards,

Russell Hanneken
rh*******@pobox.com


Nov 13 '05 #21
<off-topic>
"Russell Hanneken" <rh*******@pobox.com> writes:
"Richard Heathfield" <in*****@address.co.uk.invalid> wrote in message
news:3f******@news2.power.net.uk... [...] I think I have a better solution:

In Windows 2000:

1. Select Start->Settings->Control Panel.
2. Double-click on "Folder Options."
3. Select the "View" tab.
4. Uncheck "Hide file extensions for known file types."

In Windows XP:

1. Select Start->Control Panel.
2. Select "Appearance and Themes."
3. Select "Folder Options."
4. Select the "View" tab.
5. Uncheck "Hide file extensions for known file types."

Definitely an irritating default setting. I've known several students who
have experienced exactly the same problem Kelsey did.


It's not just irritating, it's dangerous.

Suppose someone sends you a file (perhaps an e-mail attachment) named
"foo.txt". Thinking that's it's just a plain text file that can't
possibly cause any harm, you open it. That's when you discover that
the file name is really "foo.txt.exe", but Windows decided you didn't
really need to see the ".exe".

The first thing I do with any Windows system is to change that setting
and a few others.
</off-topic>

--
Keith Thompson (The_Other_Keith) ks*@cts.com <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"
Nov 13 '05 #22
On Tue, 22 Jul 2003 15:58:39 +0000, Dan Pop wrote:
In <pa****************************@xxnospamyy.lightsp eed.bc.ca> Kelsey Bjarnason <ke*****@xxnospamyy.lightspeed.bc.ca> writes:
On Mon, 21 Jul 2003 21:52:33 -0700, Kelsey Bjarnason wrote:

Arrgh. What is with this newsreader? Twice in one week, the post goes to
the wrong newsgroup... sigh.


Is it the newsreader or is it you? ;-)


Oh, prolly me. Thing is, this newsreader has the habit of leaving the
last article you read displayed even after you switch newsgroups; the net
result is that if you don't double-check, you can get fairly readily
confused as to which group you're in. Sigh. :)
Nov 13 '05 #23
In <pa***************************@xxnospamyy.lightspe ed.bc.ca> Kelsey Bjarnason <ke*****@xxnospamyy.lightspeed.bc.ca> writes:
On Tue, 22 Jul 2003 15:58:39 +0000, Dan Pop wrote:
In <pa****************************@xxnospamyy.lightsp eed.bc.ca> Kelsey Bjarnason <ke*****@xxnospamyy.lightspeed.bc.ca> writes:
On Mon, 21 Jul 2003 21:52:33 -0700, Kelsey Bjarnason wrote:

Arrgh. What is with this newsreader? Twice in one week, the post goes to
the wrong newsgroup... sigh.


Is it the newsreader or is it you? ;-)


Oh, prolly me. Thing is, this newsreader has the habit of leaving the
last article you read displayed even after you switch newsgroups; the net
result is that if you don't double-check, you can get fairly readily
confused as to which group you're in. Sigh. :)


Maybe you should consider switching to one which is easier to use :-)

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #24
"Russell Hanneken" <rh*******@pobox.com> wrote:
"Richard Bos" <rl*@hoekstra-uitgeverij.nl> wrote in message
news:3f****************@news.nl.net...
"Russell Hanneken" <rh*******@pobox.com> wrote:
Are you talking about Windows XP and the "product activation" system?
If so, your sister does not have to have an Internet connection. See
Myth #4 on this page:

http://www.microsoft.com/piracy/basi...tion/myths.asp


Are we supposed to trust a page that states, amongst others, "Microsoft
absolutely respects the privacy of its customers"?


You mean you think there's a good chance Microsoft might be lying when they
say you can activate Windows XP by phone?


Not all of us are in the USA, or can easily and affordably call a number
there. Not all of use who can call M$ locally want to register a version
from their own country. Yes, given their history, I expect M$ to get
this wrong. I'm not saying they _do_ - just that I'd want to watch it in
action before putting my money on it.

Richard
Nov 13 '05 #25
Dan Pop <Da*****@cern.ch> wrote:
In <ye*************@king.cts.com> Keith Thompson <ks*@cts.com> writes:
It's not just irritating, it's dangerous.

Suppose someone sends you a file (perhaps an e-mail attachment) named
"foo.txt". Thinking that's it's just a plain text file that can't
possibly cause any harm, you open it. That's when you discover that
the file name is really "foo.txt.exe", but Windows decided you didn't
really need to see the ".exe".


This scenario assumes a completely idiot user, who ignores the icons
associated with files. If you double click on an icon that means
"executable file" you get exactly what you're supposed to get. And if
you double click on an icon whose meaning you don't understand, you get
exactly what you deserve.


The icon associated with an executable file is loaded from the file, if
it specifies one. Nothing stops it storing the little blue note pad as
its icon.

- Kevin.

Nov 13 '05 #26
In <ne********************@tomato.pcug.org.au> Kevin Easton <kevin@-nospam-pcug.org.au> writes:
Dan Pop <Da*****@cern.ch> wrote:
In <ye*************@king.cts.com> Keith Thompson <ks*@cts.com> writes:
It's not just irritating, it's dangerous.

Suppose someone sends you a file (perhaps an e-mail attachment) named
"foo.txt". Thinking that's it's just a plain text file that can't
possibly cause any harm, you open it. That's when you discover that
the file name is really "foo.txt.exe", but Windows decided you didn't
really need to see the ".exe".


This scenario assumes a completely idiot user, who ignores the icons
associated with files. If you double click on an icon that means
"executable file" you get exactly what you're supposed to get. And if
you double click on an icon whose meaning you don't understand, you get
exactly what you deserve.


The icon associated with an executable file is loaded from the file, if
it specifies one. Nothing stops it storing the little blue note pad as
its icon.


Yes, but that's a different scenario than the one described above.
And having the .exe extension visible is not likely to make any difference
to the average Windows user: if it looks like a notepad document, it
*must* be a notepad document ;-) The danger is simply created by
not requiring a special action for executing a file (binary or script),
as opposed to merely opening it, which could invoke a hex viewer for
binaries and a plain text viewer for scripts.

The deadliest feature of Windows, however, is the automatic execution
of a program when a new CD-ROM is loaded. This program can silently do as
much harm as it wants, without the user being aware that anything at all
is happening on his computer.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #27
"Richard Bos" <rl*@hoekstra-uitgeverij.nl> wrote in message
news:3f****************@news.nl.net...

Not all of us are in the USA, or can easily and affordably call a number
there.
You may not have to:

http://support.microsoft.com/default...en-us;307890#6

"Follow the steps that are displayed in the Activate Windows by phone dialog
box, and then click Next.Please note: the number will be displayed at this
point and will differ based on the location you select."
Not all of use who can call M$ locally want to register a version
from their own country. Yes, given their history, I expect M$ to get
this wrong. I'm not saying they _do_ - just that I'd want to watch it in
action before putting my money on it.


Okay, fair enough.

--
Russell Hanneken
rh*******@pobox.com
Nov 13 '05 #28
On Wed, 23 Jul 2003 09:42:47 GMT, in comp.lang.c ,
rl*@hoekstra-uitgeverij.nl (Richard Bos) wrote:
"Russell Hanneken" <rh*******@pobox.com> wrote:
"Richard Bos" <rl*@hoekstra-uitgeverij.nl> wrote in message
news:3f****************@news.nl.net...
> "Russell Hanneken" <rh*******@pobox.com> wrote:
>

(stuff about MS product activation, its pros and cons etc)

Er guys, whats your C question?

I mean, WPA may or may not be a good or bad thing, but I'm not
entirely sure that the thread is very topical...
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #29
On Tue, 22 Jul 2003 22:59:26 -0700, in comp.lang.c , Kelsey Bjarnason
<ke*****@xxnospamyy.lightspeed.bc.ca> wrote:
On Tue, 22 Jul 2003 15:58:39 +0000, Dan Pop wrote:
In <pa****************************@xxnospamyy.lightsp eed.bc.ca> Kelsey Bjarnason <ke*****@xxnospamyy.lightspeed.bc.ca> writes:
On Mon, 21 Jul 2003 21:52:33 -0700, Kelsey Bjarnason wrote:

Arrgh. What is with this newsreader? Twice in one week, the post goes to
the wrong newsgroup... sigh.


Is it the newsreader or is it you? ;-)


Oh, prolly me. Thing is, this newsreader has the habit of leaving the
last article you read displayed even after you switch newsgroups; the net
result is that if you don't double-check, you can get fairly readily
confused as to which group you're in. Sigh. :)


must be all those cats nibbling it

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #30
In <14********************************@4ax.com> Mark McIntyre <ma**********@spamcop.net> writes:
On Wed, 23 Jul 2003 09:42:47 GMT, in comp.lang.c ,
rl*@hoekstra-uitgeverij.nl (Richard Bos) wrote:
"Russell Hanneken" <rh*******@pobox.com> wrote:
"Richard Bos" <rl*@hoekstra-uitgeverij.nl> wrote in message
news:3f****************@news.nl.net...
> "Russell Hanneken" <rh*******@pobox.com> wrote:
>

(stuff about MS product activation, its pros and cons etc)

Er guys, whats your C question?

I mean, WPA may or may not be a good or bad thing, but I'm not
entirely sure that the thread is very topical...


Well, this could explain why it is *explicitly* labeled as Off Topic in
the subject line...

But, of course, no one could expect the c.l.c resident idiot to figure
out what that little "[OT]" tag in the subject line means ;-)

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #31

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
4552
by: Peter Maas | last post by:
Recently I replaced Win2k with Linux on my desktop computer. Using mostly multi-platform software I thought this would be easy. It was not as easy as expected getting wxPython to work. There seemed...
20
2976
by: David | last post by:
I have seen postings that indicate some developers are creating PHP apps for a Windows server environment. I am not sure if they run underr IIS or Apache, but I wonder why Windows and PHP vs. the...
5
11342
by: Dave | last post by:
How do I check in a Windows Forms app if any controls have changed? I have a form that collects data, and I want to prompt the user if they try to exit the app, or load a new file, without saving...
2
9819
by: ken | last post by:
i'm trying to figure out the complexity of writing a Windows C++ app that will automatically read a Poker window and then be able to make odds estimates based on that. there are applications out...
22
6223
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
6
4706
by: flaus.a | last post by:
I found a way to create "Open File" or "Open Folder" windows dialog boxes, but not to create an easier Yes / No dialog box... Maybe someone has a solution for this?
3
1541
by: rkausch | last post by:
Hello, I'm performing some research to determine the feasibility of developing a Windows Service (see http://en.wikipedia.org/wiki/Windows_Service for the specific definition of "service" to which...
12
3686
by: Anil Gupte | last post by:
I wrote my Windows Service first as a regular Windows Exe because it is easier to debug. In that I used AppDir = Application.ExecutablePath.Substring(0,...
14
1705
by: Sam H | last post by:
I'm writing scripts on Windows that are in PHP. Basically people will be double clicking the .php file which will run the CLI app. Is there some way in PHP to pop up a Windows messagebox? ...
23
2183
by: Dan Tallent | last post by:
A textbox has a attribute for ReadOnly. This seems like such a simple concept. When a textbox is set to read only the user cannot change the contents of the field. I have been trying to find...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.