Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Xcopy

Status
Not open for further replies.

aimbc

IS-IT--Management
Apr 18, 2001
47
US
I am having trying to start xcopy in the DOS window. My OS is Window98. Every time I try to run it, it gives me a:

incorrect DOS version

What I am I doing wrong? Does it have to do with my Window98 version.


Thanks in advance.
 
SYMPTOMS
When you try to run an MS-DOS command from a command prompt at the root folder of your C drive, you may receive one of the following error messages:

Incorrect Dos Version
-or-
Error Starting Program. A required .DLL file, ULIB.DLL, was not found.



CAUSE
This behavior can occur if there is an MS-DOS version of the command you are trying to run in the root folder of your C drive. When you try to run an MS-DOS command from a command prompt at the root folder of your C drive, Windows looks for the command in the root folder before it looks for the command in your path.



RESOLUTION
To resolve this issue, rename the MS-DOS command in the root folder of your C drive. To do so, use the following steps:


Click Start, point to Find, and then click Files Or Folders.


In the Named box, type the name of the MS-DOS command you want to run, and then click Find Now.


Right-click the file (after you verify it is in the root folder of your C drive), and then click Rename.


Rename the file to a .old extension, and then press ENTER.


Quit the Find Files Or Folders tool.
 
How about just getting xxcopy from Cheers,
Jim
iamcan.gif
 
or try \windows\command\xcopy to see if it is a conflict with an earlier version? Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
In addition to xcopy being in the root directory there's also the possibility of having a DOS directory in your path before the windows directory. When a command is run the OS checks to see if it is an internal command native to the command processor. Such commands are copy, md, cd, del etc. If not then it checks the current directory. Then it starts searching the path. If;

path=c:\c:\dos;\c:\windows;c:\windows\command

The first instance of an occurrence will execute. Thus if you have two copies of xcopy, one in the DOS dir. and one in \windows\command dir the order of search will take it to the DOS dir first because its in the path before the windows\command. Don Swayser
swayser@optonline.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top