Re: [Freedos-user] challenging dos question.

2017-12-03 Thread Samuel V. via Freedos-user
You can also use the following to make the file show normally:
attrib FILE.NAM -s -h -r
or 

attrib * -s -h -rattrib *.* -s -h -r
 

On Saturday, December 2, 2017 1:09 PM, dmccunney 
 wrote:
 

 On Sat, Dec 2, 2017 at 1:38 PM, Karen Lewellen  
wrote:
> Hi folks,
> its complicated.  However, is there a way to copy over a file that is
> technically hidden?
> having  a bit of a computer crisis.

DOS recognizes four file attributes: archive, read-only, hidden, and
system.  The ATTRIB command should allow you to diddle them.

See https://www.computerhope.com/attribhl.htm

Hidden simply means the file doesn't show in a DIR list, but I don't
recall it preventing copying over it.  If it's also read-only, you'll
get a permission denied error.

Offhand, you should be able to run ATTRIB, clear the read-only and
hidden attributes, copy over the file, than restore read-only and
hidden if desired.

> thanks,
> Kare
__
Dennis

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread Karen Lewellen
I have my external USB  drive with me.  It is normally what I use for 
backup.
Will spend some time  locating fresh editions  of the Panasonic  USB 
drivers I  use, in case those are problematical on the c drive just now.
i could not possibly find enough zip drives to do the job,  my drives are 
quite large.
Sort of funny, my c and e are  the same drive, my d and f are the same. 
Cannot recall how they got crossed like that, but they are.

 thanks,
Kare



On Sat, 2 Dec 2017, John R. Sowden wrote:

Based on your error messages, it sounds like there is a problem with the hard 
drive.  If you have more than 1 physical hard drive, your best bet is to 
copy your data from the c: drive to the e: drive ASAP.  If the "drives" are 
actually partitions of the same physical drive, I would copy the data off of 
the computer ASAP.  An option to write to is a zip drive (100 MB each).  It 
connects to the parallel (printer) port.


4dos is much more feature packed.  command.com is a program that executes 
the commands you enter at the c:>.  It also includes some internal 
commands.  If DOS is your main OS, I would find 4DOS invaluable.  As far as 
the OS (IO.SYS and MSDOS.SYS) is concerned, command.com is just another 
program.  Gates did not get into making the use of our computer and the OS 
that we licensed difficult until about Windows95.  Luckily, Linux was 
lurking in the background ready to pounce.


Again, this sounds like a hardware issue, specifically a hard drive getting 
ready to die.  I would get my data off it fast.


John


On 12/02/2017 12:55 PM, Karen Lewellen wrote:

 Thanks to you Dennis, and john for this suggestion.
 The thing is that the file is command.com
 I noticed at the computer help source indicates that there is a system
 atrib  option as well.  granted I will check the options with my edition
 of  atrib, still it might work I have more than one hard drive,  with
 more than one copy of command.com for the same Dos edition.
 As I write I have no idea how my machine is running,  it rebooted by
 accident and I barely got in again.
 Staying with amazing friends, but I have no access to a monitor.
 I have norton utilities 8.0, last edition for dos on a drive that seems
 undamaged.  so I hope I can make a rescue disc of some  kind before too
 much mayhem happens.
 Thanks again,
 Kare


 "No one is born hating another person because of the color of his
 skin or his background or his religion ... People must learn to
 hate, and if they can learn to hate, they can be taught to
 love... For love comes more naturally to the human heart than its
 opposite." Nelson Mandela.

 On Sat, 2 Dec 2017, John R. Sowden wrote:

>  use attrib to unhide it? then copy?
>  John
> 
> 
>  On 12/02/2017 10:38 AM, Karen Lewellen wrote:

> >   Hi folks,
> >   its complicated.  However, is there a way to copy over a file that 
> >  is

> >   technically hidden?
> >   having
> >    a bit of a computer crisis.
> > 
> >   thanks,

> >   Kare
> > 
> >   "No one is born hating another person because of the color of his

> >   skin or his background or his religion ... People must learn to
> >   hate, and if they can learn to hate, they can be taught to
> >   love... For love comes more naturally to the human heart than its
> >   opposite." Nelson Mandela.
> > 
> >   -- 
> > 
> >   Check out the vibrant tech community on one of the world's most

> >   engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >   ___
> >   Freedos-user mailing list
> >   Freedos-user@lists.sourceforge.net
> >   https://lists.sourceforge.net/lists/listinfo/freedos-user
> > 
> 
> 
> 
>  -- 
> 
>  Check out the vibrant tech community on one of the world's most

>  engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>  ___
>  Freedos-user mailing list
>  Freedos-user@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/freedos-user
> 
> 



 --
 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot


 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

--
Check out the vibrant tech com

Re: [Freedos-user] challenging dos question.

2017-12-02 Thread John R. Sowden
Based on your error messages, it sounds like there is a problem with the 
hard drive.  If you have more than 1 physical hard drive, your best bet 
is to copy your data from the c: drive to the e: drive ASAP.  If the 
"drives" are actually partitions of the same physical drive, I would 
copy the data off of the computer ASAP.  An option to write to is a zip 
drive (100 MB each).  It connects to the parallel (printer) port.


4dos is much more feature packed.  command.com is a program that 
executes the commands you enter at the c:>.  It also includes some 
internal commands.  If DOS is your main OS, I would find 4DOS 
invaluable.  As far as the OS (IO.SYS and MSDOS.SYS) is concerned, 
command.com is just another program.  Gates did not get into making the 
use of our computer and the OS that we licensed difficult until about 
Windows95.  Luckily, Linux was lurking in the background ready to pounce.


Again, this sounds like a hardware issue, specifically a hard drive 
getting ready to die.  I would get my data off it fast.


John


On 12/02/2017 12:55 PM, Karen Lewellen wrote:

Thanks to you Dennis, and john for this suggestion.
The thing is that the file is command.com
I noticed at the computer help source indicates that there is a system 
atrib  option as well.  granted I will check the options with my 
edition of  atrib, still it might work I have more than one hard 
drive,  with more than one copy of command.com for the same Dos edition.
As I write I have no idea how my machine is running,  it rebooted by 
accident and I barely got in again.

Staying with amazing friends, but I have no access to a monitor.
I have norton utilities 8.0, last edition for dos on a drive that 
seems undamaged.  so I hope I can make a rescue disc of some  kind 
before too much mayhem happens.

Thanks again,
Kare


"No one is born hating another person because of the color of his
skin or his background or his religion ... People must learn to
hate, and if they can learn to hate, they can be taught to
love... For love comes more naturally to the human heart than its
opposite." Nelson Mandela.

On Sat, 2 Dec 2017, John R. Sowden wrote:


use attrib to unhide it? then copy?
John


On 12/02/2017 10:38 AM, Karen Lewellen wrote:

 Hi folks,
 its complicated.  However, is there a way to copy over a file that is
 technically hidden?
 having
  a bit of a computer crisis.

 thanks,
 Kare

 "No one is born hating another person because of the color of his
 skin or his background or his religion ... People must learn to
 hate, and if they can learn to hate, they can be taught to
 love... For love comes more naturally to the human heart than its
 opposite." Nelson Mandela.

 -- 


 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user





-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread Gregg Eshelman via Freedos-user
No problem if you know the full path and file name. If you have ATTRIB you can 
hit it with -H to make it visible.
https://www.computerhope.com/attribhl.htm

On Saturday, December 2, 2017, 11:56:07 AM MST, Karen Lewellen 
 wrote:  
 
 Hi folks,
its complicated.  However, is there a way to copy over a file that is 
technically hidden?
having
  a bit of a computer crisis.

thanks,
Kare  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread Karen Lewellen

Hi,
will try to make  this more understandable.
I am hunting a new apartment in Toronto, with all or my major computer 
stuff in storage save this main one.  I.I am staying with friends as expressed. 
Still when I arrived I did not open the case to make sure no connectors 
came  loose.
 I did make some  tests, ran chkdsk and allowed it to make repairs, at 
least  some of them, intending to do more then I had time.
Yesterday I tot a critical error on drive c, after several tries of retry 
though  it kept going.  I tried running another test started getting a 
sector error, then several not ready drive c ones.
I finally got the invalid command interpreter on drive c, please type the 
file name of the command interpreter.
because I have more than one drive I just typed the command interpreter 
from another  drive, e in this case.
That  got  things working, but I   would still get the request as you say, 
each time I left a program.
In general dos creates two copies of command.com, one stored on the c 
drive,  the other is hidden.
so I did copy and replace the copy of command.com on the c root level of 
my drive.
I did not want to reboot, but it happened..a bit scary trying to get back 
in, which is why I am unsure I know  how the machine is working.

however the request for the command interpreter error is gone now.
I only run msdos 7.1 on my machines, so  do not think mixing in another 
command .com would be wise.

Perhaps letting norton utilities create a rescue disk would be though.
Thanks,
Karen



On Sat, 2 Dec 2017, dmccunney wrote:


On Sat, Dec 2, 2017 at 3:55 PM, Karen Lewellen  wrote:

Thanks to you Dennis, and john for this suggestion.
The thing is that the file is command.com


You should have mentioned that earlier.  What is the problem you are
encountering that requires you to overwrite it?


I noticed at the computer help source indicates that there is a system atrib
option as well.  granted I will check the options with my edition of  atrib,
still it might work I have more than one hard drive,  with more than one
copy of command.com for the same Dos edition.


IIRC, the system attribute is on for the actual DOS files - MSDOS.SYS
and IO.SYS (or IBMDOS.COM and IBMBIO.COM in the PC-DOS flavor.)  I
don't believe it's on for COMMAND.COM.  That may be read only, but not
hidden. (And I don't recall it being read-only.  I used to use ATTRIB
to apply read-only attributes to various DOS commands, but that was
habit and being fussy, and not an actual requirement.  It was just a
way of preventing accidental "oops!" moments.)


As I write I have no idea how my machine is running,  it rebooted by
accident and I barely got in again.
Staying with amazing friends, but I have no access to a monitor.
I have norton utilities 8.0, last edition for dos on a drive that seems
undamaged.  so I hope I can make a rescue disc of some  kind before too much
mayhem happens.


The way command.com works, when it's loaded, a resident stub installs
at the top of memory, and a transient interpreter is loaded below.
When you run a program from DOS, the transient interpreter is
overwritten to provide more memory.  When the program is exited, the
resident portion reloads the transient interpreter. (There's a
CONFIG.SYS option usable to specify the location of the command
interpreter is it doesn't happen to be COMMAND.COM in trhe root of the
boot drive. If you have it available, I think you should be able to
load 4DOS or the FreeDOS version of COMMAND from the existing
instance, do what you need to do with ATTRIB from there, and then
exit.


Thanks again,
Kare

__
Dennis

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread dmccunney
On Sat, Dec 2, 2017 at 3:55 PM, Karen Lewellen  wrote:
> Thanks to you Dennis, and john for this suggestion.
> The thing is that the file is command.com

You should have mentioned that earlier.  What is the problem you are
encountering that requires you to overwrite it?

> I noticed at the computer help source indicates that there is a system atrib
> option as well.  granted I will check the options with my edition of  atrib,
> still it might work I have more than one hard drive,  with more than one
> copy of command.com for the same Dos edition.

IIRC, the system attribute is on for the actual DOS files - MSDOS.SYS
and IO.SYS (or IBMDOS.COM and IBMBIO.COM in the PC-DOS flavor.)  I
don't believe it's on for COMMAND.COM.  That may be read only, but not
hidden. (And I don't recall it being read-only.  I used to use ATTRIB
to apply read-only attributes to various DOS commands, but that was
habit and being fussy, and not an actual requirement.  It was just a
way of preventing accidental "oops!" moments.)

> As I write I have no idea how my machine is running,  it rebooted by
> accident and I barely got in again.
> Staying with amazing friends, but I have no access to a monitor.
> I have norton utilities 8.0, last edition for dos on a drive that seems
> undamaged.  so I hope I can make a rescue disc of some  kind before too much
> mayhem happens.

The way command.com works, when it's loaded, a resident stub installs
at the top of memory, and a transient interpreter is loaded below.
When you run a program from DOS, the transient interpreter is
overwritten to provide more memory.  When the program is exited, the
resident portion reloads the transient interpreter. (There's a
CONFIG.SYS option usable to specify the location of the command
interpreter is it doesn't happen to be COMMAND.COM in trhe root of the
boot drive. If you have it available, I think you should be able to
load 4DOS or the FreeDOS version of COMMAND from the existing
instance, do what you need to do with ATTRIB from there, and then
exit.

> Thanks again,
> Kare
__
Dennis

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread Karen Lewellen

Thanks to you Dennis, and john for this suggestion.
The thing is that the file is command.com
I noticed at the computer help source indicates that there is a system 
atrib  option as well.  granted I will check the options with my edition 
of  atrib, still it might work I have more than one hard drive,  with more 
than one copy of command.com for the same Dos edition.
As I write I have no idea how my machine is running,  it rebooted by 
accident and I barely got in again.

Staying with amazing friends, but I have no access to a monitor.
I have norton utilities 8.0, last edition for dos on a drive that seems 
undamaged.  so I hope I can make a rescue disc of some  kind before too 
much mayhem happens.

Thanks again,
Kare


"No one is born hating another person because of the color of his
skin or his background or his religion ... People must learn to
hate, and if they can learn to hate, they can be taught to
love... For love comes more naturally to the human heart than its
opposite." Nelson Mandela.

On Sat, 2 Dec 2017, John R. Sowden wrote:


use attrib to unhide it? then copy?
John


On 12/02/2017 10:38 AM, Karen Lewellen wrote:

 Hi folks,
 its complicated.  However, is there a way to copy over a file that is
 technically hidden?
 having
  a bit of a computer crisis.

 thanks,
 Kare

 "No one is born hating another person because of the color of his
 skin or his background or his religion ... People must learn to
 hate, and if they can learn to hate, they can be taught to
 love... For love comes more naturally to the human heart than its
 opposite." Nelson Mandela.

 -- 


 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread John R. Sowden

use attrib to unhide it? then copy?
John


On 12/02/2017 10:38 AM, Karen Lewellen wrote:

Hi folks,
its complicated.  However, is there a way to copy over a file that is 
technically hidden?

having
 a bit of a computer crisis.

thanks,
Kare

"No one is born hating another person because of the color of his
skin or his background or his religion ... People must learn to
hate, and if they can learn to hate, they can be taught to
love... For love comes more naturally to the human heart than its
opposite." Nelson Mandela.

-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] challenging dos question.

2017-12-02 Thread dmccunney
On Sat, Dec 2, 2017 at 1:38 PM, Karen Lewellen  wrote:
> Hi folks,
> its complicated.  However, is there a way to copy over a file that is
> technically hidden?
> having  a bit of a computer crisis.

DOS recognizes four file attributes: archive, read-only, hidden, and
system.  The ATTRIB command should allow you to diddle them.

See https://www.computerhope.com/attribhl.htm

Hidden simply means the file doesn't show in a DIR list, but I don't
recall it preventing copying over it.  If it's also read-only, you'll
get a permission denied error.

Offhand, you should be able to run ATTRIB, clear the read-only and
hidden attributes, copy over the file, than restore read-only and
hidden if desired.

> thanks,
> Kare
__
Dennis

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] challenging dos question.

2017-12-02 Thread Karen Lewellen

Hi folks,
its complicated.  However, is there a way to copy over a file that is 
technically hidden?

having
 a bit of a computer crisis.

thanks,
Kare

"No one is born hating another person because of the color of his
skin or his background or his religion ... People must learn to
hate, and if they can learn to hate, they can be taught to
love... For love comes more naturally to the human heart than its
opposite." Nelson Mandela.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user