Re: Great SWT Program
- From: twerpinator@xxxxxxxxx
- Date: Fri, 4 Jan 2008 09:36:10 -0800 (PST)
On Jan 2, 4:47 am, Andreas Leitgeb <a...@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
So, you navigate the explorer to windows' equivalent of /usr/bin, first?
Just to open an editor? How crufty!
Ordinarily I'd use the start menu. As quick as typing some arcane
command line and a lot less fiddly and finicky.
There's also right clicking a file and picking "Open with..." when you
don't trust the default double-click action.
or just single click a start menu item. Then File ... Open, paste in the
path to the file (or actually go browsing for it) ...
Can't help, but this is reallly very very very crufty
It's *exactly* as crufty as the *only* way to do it at a command line,
separately specifying the binary, the document's path, and whatever
options. And for me that's a *worst case* instead of the *average*
case.
add up: starting the editor twice
You're making that up. I wouldn't start it twice, of course.
(that is twice navigating the start-menu into the second or
third level)
Once, and it's very quick to do if the system hardware is at all
decent.
and then from those editor-instannces navigate back to the
folder you already were in
But was I? I might not have bothered to navigate to it in Explorer if
I knew I'd be opening it from inside another application. If I did
have an Explorer window there already I'd copy/paste the path to save
navigating there a second time inside the file dialog. Or I'd use
right click "Open with...". If the clipboard contents needed
preserving I'd paste them into an open blank Notepad first, then cut
them again later. (I usually have such a Notepad open. Useful for
quick jots or other very temporary stuff, including extending the
power of the clipboard. Also useful to leave it focused when away from
the machine to eat any keypresses generated by cats.)
[some arcane vi stuff deleted]
Uch. (What's this "file1", "file2" ***? We were discussing examining
a single suspicious batch file/script in a text editor, remember?
A good use for Notepad, that. Only need to view the file, really, and
Notepad is surely not vulnerable to things like macro-viruses.
But (at least last time I saw it) it didn't show the whole file,
if that happened to contain a ^Z-char (that is: Alt-26)
So anything beyond that char is(/was?) still in the file,
but invisible in notepad...
Old versions of Notepad had this problem. I don't know about recent
ones. I have slightly more sophisticated text editors that definitely
don't.
This would normally only be an issue viewing a binary file anyway. I
suppose a sneaky person might write a hostile batch file with a
harmless looking start and then a rem ^Z, followed by the payload, but
the mystery rem at the "end" of the file would probably make me
suspicious. Most likely I'd not run the batch file anyway, and examine
it only out of curiosity.
Sometimes a very simple tool is the best, particularly when security
is an issue.
But not too simple, or it might hide important information from your
eyes.
I find that to be more of a risk with overly-elaborate tools than with
simple ones, as long as the latter are not broken. I do have other
editors on my system, some nearly as simple as Notepad and others with
sophisticated features, and, of course, I use the right tool for the
right job.
.
- Follow-Ups:
- Re: Great SWT Program
- From: Andreas Leitgeb
- Re: Great SWT Program
- References:
- Re: Great SWT Program
- From: nebulous99
- Re: Great SWT Program
- From: Andreas Leitgeb
- Re: Great SWT Program
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: Great SWT Program
- Previous by thread: Re: Great SWT Program
- Next by thread: Re: Great SWT Program
- Index(es):
Loading