G
Guest
Guest
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.
"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.