Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can XCOPY32 copy hidden files?

18 views
Skip to first unread message

Alex Tellez

unread,
May 9, 1996, 3:00:00 AM5/9/96
to

The title pretty much says it all? I've tried many different
parameters along with the XCOPY32 command. But no succes in copying
hidden files. Any suggestions?

Alex Tellez


Raymond Chen

unread,
May 9, 1996, 3:00:00 AM5/9/96
to

Don't run xcopy32; it's an internal worker program used by xcopy. It
was my mistake to give it an .EXE extension. I should've called it
"xcopy32.mod".

If you run "xcopy /?", you'll see that the /H option will copy hidden
and system files.

Chris Groppi

unread,
May 9, 1996, 3:00:00 AM5/9/96
to

In article <4mseuk$r...@news.ios.com>, ate...@soho.ios.com (Alex Tellez) wrote:
> The title pretty much says it all? I've tried many different
>parameters along with the XCOPY32 command. But no succes in copying
>hidden files. Any suggestions?
>
> Alex Tellez
>


Yes, it can. Do an xcopy32 /? to see all the possible switches.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Chris Groppi %%
%% ce...@cornell.edu %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Cornell University Paintball Team %%
%% "Who needs food? Stop eating and just drink Guinness!"%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Mike Davis

unread,
May 9, 1996, 3:00:00 AM5/9/96
to

raym...@microsoft.com (Raymond Chen) wrote:

>On 9 May 1996 09:47:00 GMT, ate...@soho.ios.com (Alex Tellez) wrote:
>> The title pretty much says it all? I've tried many different
>>parameters along with the XCOPY32 command. But no succes in copying
>>hidden files. Any suggestions?

>Don't run xcopy32; it's an internal worker program used by xcopy. It


>was my mistake to give it an .EXE extension. I should've called it
>"xcopy32.mod".

>If you run "xcopy /?", you'll see that the /H option will copy hidden
>and system files.

What kind of nonsense is this. You don't (didn't) have to rename
anything. My Xcopy32 came already named xcopy32.exe.


Kevin J. Lang

unread,
May 9, 1996, 3:00:00 AM5/9/96
to

Mike, I think you may have jumped a bit quick....

What Raymond said was that xcopy32.exe SHOULD have been given a different
name, e.g. xcopy32.mod. He said that xcopy uses it, implying that you can
obtain the functionality of xcopy32 by using xcopy. Based on his use of
the first person, I'm assuming that he's claiming development level
responsibility for having 2 xcopy images on the system. I also assume
that he just might know what he's talking about.

Cheers,

Kevin

--


J. Wayne Waller

unread,
May 10, 1996, 3:00:00 AM5/10/96
to

>>On 9 May 1996 09:47:00 GMT, ate...@soho.ios.com (Alex Tellez) wrote:
>>> I've tried many different
>>>parameters along with the XCOPY32 command. But no succes in copying
>>>hidden files. Any suggestions?

I had trouble with xcopy32 until I saw a posting about using the full
path: c:\windows95\command\xcopy path\file path\file where
*windows95* is the name of YOUR windows95 directory (mine is
c:\WIN95).

This puts you in the directory where xcopy32 is located. Since I have
a dual boot, with just c:\xcopy it was finding the older version. I
think the switch for hidden is /h

Wayne


J. Wayne Waller
j...@utk.edu

Mike Davis

unread,
May 10, 1996, 3:00:00 AM5/10/96
to

kevin...@bbs.hal-pc.org (Kevin J. Lang) wrote:

>> raym...@microsoft.com (Raymond Chen) wrote:
>>
>> >On 9 May 1996 09:47:00 GMT, ate...@soho.ios.com (Alex Tellez) wrote:

>> >> The title pretty much says it all? I've tried many different

>> >>parameters along with the XCOPY32 command. But no succes in copying
>> >>hidden files. Any suggestions?
>>

>> >Don't run xcopy32; it's an internal worker program used by xcopy. It
>> >was my mistake to give it an .EXE extension. I should've called it
>> >"xcopy32.mod".
>>
>> >If you run "xcopy /?", you'll see that the /H option will copy hidden
>> >and system files.
>>
>> What kind of nonsense is this. You don't (didn't) have to rename
>> anything. My Xcopy32 came already named xcopy32.exe.

>Mike, I think you may have jumped a bit quick....

>What Raymond said was that xcopy32.exe SHOULD have been given a different
>name, e.g. xcopy32.mod. He said that xcopy uses it, implying that you can
>obtain the functionality of xcopy32 by using xcopy. Based on his use of
>the first person, I'm assuming that he's claiming development level
>responsibility for having 2 xcopy images on the system. I also assume
>that he just might know what he's talking about.

>Cheers,

> Kevin

>--

OOPS! Could be. I went back and reread it. You might be right.

Alex Tellez

unread,
May 13, 1996, 3:00:00 AM5/13/96
to

Raymond Chen (raym...@microsoft.com) wrote:
: If you run "xcopy /?", you'll see that the /H option will copy hidden
: and system files.

I'm really at a lost here. This is what I do:

I go to the windows\command dir
I type xcopy32 /?
this is the output that I get:

Copies files (except hidden and system files) and directory trees.

XCOPY source [destination] [/A | /M] [/D:date] [/P] [/S [/E]] [/V] [/W]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies files with the archive attribute set,
doesn't change the attribute.
/M Copies files with the archive attribute set,
turns off the archive attribute.
/D:date Copies files changed on or after the specified date.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies any subdirectories, even if empty.
/V Verifies each new file.
/W Prompts you to press a key before copying.

I get the exact same output if I just type xcopy /?. Yes there is an
older version of xcopy in my hard drive but that is in another directory,
and if I try running that version, I get a message stating: Incorrect Dos
Version. So I don't believe that is interfering in any way. If anyone
can explain this mystery as to why I don't see the /h switch, I would
most appreciate it. Thanks.

Alex Tellez


R. Herschel Wyatt

unread,
May 14, 1996, 3:00:00 AM5/14/96
to

Hmmm. I checked 18 Win95 systems today at work. Dir xcopy /? or dir
xcopy32 /? yeilds the same result.
both show the /h switch.

On Sunday, May 12, 1996, Alex Tellez wrote...

Timothy P. Kelley

unread,
May 14, 1996, 3:00:00 AM5/14/96
to

On 13 May 1996 03:12:26 GMT, ate...@soho.ios.com (Alex Tellez) wrote:


> I'm really at a lost here. This is what I do:
>
>I go to the windows\command dir
>I type xcopy32 /?
>this is the output that I get:

[stuff deleted]

> I get the exact same output if I just type xcopy /?. Yes there is an
>older version of xcopy in my hard drive but that is in another directory,
>and if I try running that version, I get a message stating: Incorrect Dos
>Version. So I don't believe that is interfering in any way. If anyone
>can explain this mystery as to why I don't see the /h switch, I would
>most appreciate it. Thanks.

You need to type "xcopy32 /?". Xcopy32 is not the same as xcopy.
Output of xcopy32 /? :

Copies files and directory trees.

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/W]
[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]
[/K] [/N]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies files with the archive attribute set,
doesn't change the attribute.
/M Copies files with the archive attribute set,
turns off the archive attribute.
/D:date Copies files changed on or after the specified date.

If no date is given, copies only those files whose
source time is newer than the destination time.


/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.

/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.


/W Prompts you to press a key before copying.

/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while
copying.
/L Displays files that would be copied.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does
not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Updates the files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only
attributes.
/Y Overwrites existing files without prompting.
/-Y Prompts you before overwriting existing files.
/N Copy using the generated short names.
=====================================

Tim Kelley
tke...@ix.netcom.com

Alex Tellez

unread,
May 14, 1996, 3:00:00 AM5/14/96
to

Never mind fellas. I found out why I wasn't seeing all the switches
for xcopy32 /? It was 'cause I had selected the option to prevent ms-dos
based programs from detecting windows in the shortcut to ms-dos. Now I
see the full set of switches:

Silly me, anywayz, thanx for all the help guys, peace...

Alex Tellez


Alex Nichol

unread,
May 14, 1996, 3:00:00 AM5/14/96
to

tke...@ix.netcom.com (Timothy P. Kelley) wrote:

On 13 May 1996 03:12:26 GMT, ate...@soho.ios.com (Alex Tellez) wrote:

>>I go to the windows\command dir
>>I type xcopy32 /?
>>this is the output that I get:

>> I get the exact same output if I just type xcopy /?. Yes there is an

>>older version of xcopy in my hard drive but that is in another directory,
>>and if I try running that version, I get a message stating: Incorrect Dos
>>Version.

Raymond Chen (who wrote xcopy 32) explained once on this group that
the xcopy command (Win95 version) calls the xcopy32 (32 bit code) when
it finds a 32 bit environment, and that you should not use xcopy32
directly.

As I understood him, when xcopy is in a 16 bit environment (direct DOS
boot) then it can't call the 32 bit stuff, and in those circumstances
/H is not available. (Raymond Chen please corrdect if I'm wrong)
--
Alex Nichol

al...@dial.pipex.com
Bournemouth UK

Kevin J. Lang

unread,
May 14, 1996, 3:00:00 AM5/14/96
to

I'm sure Raymond will correct us here, but my understanding is that xcopy
and xcopy32 both will copy hidden and system files, and that both
understand about "long filenames", but that xcopy runs in real-mode and
xcopy32 runs under protected mode.

Kevin

--


Jim Thyer

unread,
May 15, 1996, 3:00:00 AM5/15/96
to


>Raymond Chen (raym...@microsoft.com) wrote:
>: If you run "xcopy /?", you'll see that the /H option will copy hidden
>: and system files.

> I'm really at a lost here. This is what I do:

>I go to the windows\command dir


>I type xcopy32 /?
>this is the output that I get:

>Copies files (except hidden and system files) and directory trees.

If you run xcopy /? from a DOS window under win95 you get the full range of
options.

If you run it from pure DOS (either starting under DOS or closing down to DOS )
you get an abbreviated set of options.

Question, it would be easy to backup the system using XCOPY from the DOS
window, with the options for hidden files etc, but if the system crashes you
only have the abbreviated version, so cannot restore the system until Win95 is
running again.

Jim Thyer j...@mfs1.ballarat.edu.au

Raymond Chen

unread,
May 16, 1996, 3:00:00 AM5/16/96
to

On Tue, 14 May 1996 16:28:56 -0500, kevin...@bbs.hal-pc.org (Kevin
J. Lang) wrote:
>I'm sure Raymond will correct us here, but my understanding is that xcopy
>and xcopy32 both will copy hidden and system files, and that both
>understand about "long filenames", but that xcopy runs in real-mode and
>xcopy32 runs under protected mode.

Xcopy.exe is the only program you should run. It was a mistake to
give that other file the name "xcopy32.exe". I should've called it
"xcopy.mod".

You're not supposed to run xcopy32 directly. It's a helper program
used by xcopy. You should always run xcopy.

Xcopy does some detection of its operating environment, then runs the
appropriate variation of xcopy32.

If you are running in Windows mode, xcopy runs the 32-bit version of
xcopy32.exe. If you are running in DOS mode, xcopy runs the 16-bit
version of xcopy32.exe. (Yes, xcopy32.exe is two, two, two programs
in one.)

0 new messages