TechTips Categories
Windows
Web
Graphics
HTML
Spam
Email
Viruses
Hoaxes
Hardware
Digital Photography
|
DearWebby is actually Helmut Morscher, the CEO of Webby, inc.
Originally the "Tech Support Pits" were reports of the funniest tech support incidents, but over the years the
column gradually shifted to answering tech support questions put forward by the readers of the Dear
Webby Humor Letter.
This collection of computer and web advice was started partly because readers demanded an archive, and partly
because some questions were asked again and again. Each page has a different day's Tech Support Pits column.
Have FUN!
DearWebby
|
|
|
Tech Support Pits column from Dear Webby's Humor Letter of
01/20/04: DOS to HTML
Tech Support Pits:
From Bo===
Dear Webby,
You used to help me with DOS bats in the days before
Windows and helped me to automate just about
everything. I sure hope you haven't forgotten about
bats. I need to copy invoices from one machine to another,
and have a quick peek at them in the process. The problem
is that the invoices are in HTML format, ready to upload.
How do I view HTML from DOS ? I can't find any info about
a command for that ANYWHERE.
Thanks
Bo
Dear Bo
The command for that is not officially listed. It is an
undocumented hack, but extremely handy for those few who
know about it.
Here is an example of how to use it:
@echo off
rem "c.bat"
rem Bat to copy invoices from H:\order to F:\inv
echo Usage: c 12345.htm
H:
cd H:\order
copy %1 f:\inv\
F:
cd \inv
%1=%1 &
if exist %1 (echo %1 copied to F:\inv)
pause
The magic is in this line:
%1=%1 &
It displays the page in MSIE.
Just change the drive and directory names to fit your
machines. Run it from a DOS window (START, RUN, cmd)
The reason for going to the other machine first is to make
sure the network connection to that machine is "livened up"
and ready.
Have FUN!
DearWebby
Go to TOP |
| Subscribe
| Give a Gift Subscription | Unsubscribe |
|
|