xcopy says "file(s) not found"

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:q1nhi11rrl47d2j4o1134arg7ddlgjn8ke@4ax.com...
| On Wed, 14 Sep 2005 15:49:16 -0400, "PCR" <pcrrcp@netzero.net> put
| finger to keyboard and composed:
|
| >I see no switches stuff at top or bottom or either of the sides or
any
| >end-- but only in the middle! I've already posted it, & it doesn't
match
| >any "/?" I do. However, it is possible it would show up in True DOS,
| >unless that one is of a prior DOS, prior to Win98 DOS, uhhh... DOS
6.1.
|
| Directory of C:\WIN98SE\COMMAND
|
| XCOPY EXE 3,878 04-23-99 10:22p XCOPY.EXE
| XCOPY32 EXE 3,878 04-23-99 10:22p XCOPY32.EXE
| XCOPY32 MOD 41,472 04-23-99 10:22p XCOPY32.MOD
|
| All three files contain the following string:
| "MS-DOS Version 7 (C)Copyright 1981-1995 Microsoft Corp"

Yea, sorry, Window 98 came with DOS 7.1. I was a little lazy there &
should have looked it up. I DID...

C:\>ver
Windows 98 [Version 4.10.2222]

...., which was no help & only made me angry.

|
| Type "edit /r /64 xcopy32.mod" and go to lines 548 through 631. The
| help text is in unicode format, ie two bytes per character. In this
| case the leading bytes are x00 and are displayed as spaces.

Just how do you get to lines 548 through 631? You go, & come back & post
them. Anyhow, the mystery is solved-- in True DOS the switches DO MATCH
those in C:\Windows\Command\XCopy32.mod that I did find & post.
Therefore, XCopy will work differently in True DOS than it does in
Windows DOS (in a box). Some DOS command do!

|
| I suggest that familiarity with this technique will stand you in good
| stead. Often you will find undocumented options.
|
| For example, EDITing fdisk.exe reveals the following switches:
|
| /PRI /EXT /LOG /PRIO /LOGO /Q /STATUS /? /MBR /X /ACTOK /CMBR /FPRMT
| /XMBR
|
| Format.com lists these:
|
| /V /S /4 /1 /8 /B /T /N /SELECT /BACKUP /AUTOTEST /F /Z /U /? /Q /C
|
| Doskey.com:
|
| /? /APPEDIT /BUFSIZE /COMMAND /ECHO /FILE /HISTORY /INSERT /KEYSIZE
| /LINE /MACROS /OVERSTRIKE /PERMANENT /REINSTALL /SCRSIZE /XHISTORY

Undocumented switches are interesting. I would approach them with
caution & only use the ones that have been fully tested & documented, if
a bit late.

|
| -- Franc Zabkar
|
| Please remove one 'i' from my address when replying by email.
 
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

On Thu, 15 Sep 2005 13:55:30 -0400, "PCR" <pcrrcp@netzero.net> put
finger to keyboard and composed:

>| Type "edit /r /64 xcopy32.mod" and go to lines 548 through 631. The
>| help text is in unicode format, ie two bytes per character. In this
>| case the leading bytes are x00 and are displayed as spaces.

>Just how do you get to lines 548 through 631? You go, & come back & post
>them.

Watch the bottom bar in response to the Page Down/Up and up/down arrow
keys. Ctrl Home gets you to the start of the file, Ctrl End brings you
to the end. The Insert key toggles between insert mode and overstrike
mode, although the /r switch prevents you from modifying the file.

In the first window the bar shows the following:

F1=Help Line:1 Col:1 Value:77

Value = decimal value of ASCII character under the cursor.

This is what I see at lines 548-555:

- % 1 ,C o p i e s f i l e s a n d d i r e c t o r y
t r e e s . % n % n X C O P Y s o u r c e [ d e s t i n a
t i o n ] [ / A | / M ] [ / D [ : d a t e ] ] [ / P ]
[ / S [ / E ] ] [ / W ] % n
[ / C ] [ / I ] [ / Q ] [ / F ]
[ / L ] [ / H ] [ / R ] [ / T ] [ / U ] % n
[ / K ] [ / N ] % n
% n s o u r c e S p e c i f i e s t h e f i

-- Franc Zabkar

Please remove one 'i' from my address when replying by email.
 
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Ah! OK, thanks. That appears to be the help screen that displays in
Windows DOS (in a box), proving the command is different in different
DOS...

C:\>xcopy/?
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.


--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcrrcp@netzero.net
"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:0boji11kpav4o4lu9k1si6i7b0j5prdjhi@4ax.com...
| On Thu, 15 Sep 2005 13:55:30 -0400, "PCR" <pcrrcp@netzero.net> put
| finger to keyboard and composed:
|
| >| Type "edit /r /64 xcopy32.mod" and go to lines 548 through 631. The
| >| help text is in unicode format, ie two bytes per character. In this
| >| case the leading bytes are x00 and are displayed as spaces.
|
| >Just how do you get to lines 548 through 631? You go, & come back &
post
| >them.
|
| Watch the bottom bar in response to the Page Down/Up and up/down arrow
| keys. Ctrl Home gets you to the start of the file, Ctrl End brings you
| to the end. The Insert key toggles between insert mode and overstrike
| mode, although the /r switch prevents you from modifying the file.
|
| In the first window the bar shows the following:
|
| F1=Help Line:1 Col:1 Value:77
|
| Value = decimal value of ASCII character under the cursor.
|
| This is what I see at lines 548-555:
|
| - % 1 ,C o p i e s f i l e s a n d d i r e c t o r y
| t r e e s . % n % n X C O P Y s o u r c e [ d e s t i n a
| t i o n ] [ / A | / M ] [ / D [ : d a t e ] ] [ / P ]
| [ / S [ / E ] ] [ / W ] % n
| [ / C ] [ / I ] [ / Q ] [ / F ]
| [ / L ] [ / H ] [ / R ] [ / T ] [ / U ] % n
| [ / K ] [ / N ] % n
| % n s o u r c e S p e c i f i e s t h e f i
|
| -- Franc Zabkar
|
| Please remove one 'i' from my address when replying by email.