[comp.sys.ibm.pc] 2 misc questions

ppd491@leah.Albany.Edu (Peter P. Donohue) (02/28/90)

   I have two questions that I've been wondering about...  Thanks for 
any help with them.

   What is the difference (if any) between Lotus 123 worksheet file
extensions.  I have seen .WKS, .WK1, .WK2, etc.  Does each of these
extensions have a different meaning?

   How can one see what hidden files there are on a disk?  Can they be
copied (and if so, how?)?

						Pete
-- 
Peter P. Donohue 
ppd491@albny1vx.bitnet               .  "Education is a journey,
ppd491@leah.albany.edu               .    not a destination..."

cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) (02/28/90)

In article <2621@leah.Albany.Edu> ppd491@leah.Albany.Edu (Peter P. Donohue) writes:
$   What is the difference (if any) between Lotus 123 worksheet file
$extensions.  I have seen .WKS, .WK1, .WK2, etc.  Does each of these
$extensions have a different meaning?

   The different .wk? and .wr? extensions refer to the file formats used
by different versions of 1-2-3 and Symphony.  1-2-3 and Symphony are
capable of reading each others' formats with the obvious constraint that
they can't read formats that hadn't been defined as of the date of release
of whatever version you're using.  Also, the file translation utilities
supplied with 1-2-3 and Symphony can perform backward conversion (i.e.
taking a more recent format and converting the file to an older format).

$   How can one see what hidden files there are on a disk?  Can they be
$copied (and if so, how?)?

   Hidden and/or system files, in general, are not counted when you use
a filespec involving wildcards (such as *.COM); however, if you know the
name of one, you can type or copy or do whatever to it by providing its
name, just as you can with other files.  For example, if you have a
hidden file called IBMBIO.COM on your disk, along with a bunch of normal
files, COPY *.* a: will not copy the hidden file, but COPY IBMBIO.COM A:
will.

   At the programming level, however, you can force the calls that
search for files matching a given filespec to find hidden or system
files as well as normal ones, and there are several utilities which do
this.  The attrib command that comes with dos can list all files along
with their attributes; see your DOS manual for details.  Many other
utilities, such as PCTools and Norton's utilities, can also show you
what files are on your disk.
-- 
Stephen M. Dunn                               cs4g6ag@maccs.dcss.mcmaster.ca
          <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
****************************************************************************
               I Think I'm Going Bald - Caress of Steel, Rush

elund@pro-graphics.cts.com (Eric Lund) (03/01/90)

In-Reply-To: message from ppd491@leah.Albany.Edu
> What is the difference (if any) between Lotus 123 worksheet file
> extensions.  I have seen .WKS, .WK1, .WK2, etc.  Does each of these
> extensions have a different meaning?

One thing that changes the file extension is for WHICH type of lotus it came
from.  LOTUS 1-2-3 ver. 1A used the .WKS extension, and 2.01 moved to the
.WK1 theme.  I don't know .WK2.  Also, 1-2-3 enhancers such as worksheet file
shrinkers often change the names.  (.WK! for example.)

> How can one see what hidden files there are on a disk?  Can they be
> copied (and if so, how?)?

Using Norton Utilities FA (file attribute) command or DOS's ATTRIB, you can
view or alter the attributes (IE, make it reappear) of any file.  I'm not sure
if ATTRIB will allow the hidden byte to be changed, however.  You need to
unhide it first with a utility to copy it, OR get a "file manager" program. 
Often, they can handle them.
                                                  
Eric W. Lund *DISCLAIMER "Disclaimers are for weak people."* Prodigy: xcbr22b
UUCP: ...crash!pro-graphics!elund *COWS FOR RENT* ProLine: elund@pro-graphics
Internet: elund@pro-graphics.cts.com ** ARPA/DDN: pro-graphics!elund@nosc.mil
 

cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) (03/02/90)

In article <1705@crash.cts.com> elund@pro-graphics.cts.com (Eric Lund) writes:
$Using Norton Utilities FA (file attribute) command or DOS's ATTRIB, you can
$view or alter the attributes (IE, make it reappear) of any file.  I'm not sure
$if ATTRIB will allow the hidden byte to be changed, however.  You need to

   It depends on what DOS version you're using.  I believe that from 3.30
up, you can alter the Archive, System, Read-Only, and Hidden attributes;
prior versions only allow you to alter the Archive and Read-Only bits.
-- 
Stephen M. Dunn                               cs4g6ag@maccs.dcss.mcmaster.ca
          <std_disclaimer.h> = "\nI'm only an undergraduate!!!\n";
****************************************************************************
               I Think I'm Going Bald - Caress of Steel, Rush

Ralf.Brown@B.GP.CS.CMU.EDU (03/02/90)

In article <25EDB98B.27683@maccs.dcss.mcmaster.ca>, cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) wrote:
}   It depends on what DOS version you're using.  I believe that from 3.30
}up, you can alter the Archive, System, Read-Only, and Hidden attributes;
}prior versions only allow you to alter the Archive and Read-Only bits.

My copy of MSDOS 3.30 ATTRIB only allows read-only and archive.  However, the
ATTRIB built into 4DOS does allow A,S,R, and H to be twiddled, as does ATTR.COM
from PC Magazine.
--
UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=- 412-268-3053 (school) -=- FAX: ask
ARPA: ralf@cs.cmu.edu  BIT: ralf%cs.cmu.edu@CMUCCVMA  FIDO: Ralf Brown 1:129/46
"How to Prove It" by Dana Angluin              Disclaimer? I claimed something?
16. proof by cosmology:
    The negation of the proposition is unimaginable or meaningless.  Popular
    for proofs of the existence of God.