Jerry L
asked on
UNIX Tools for Windows Will Not Run Without .exe File Name Extension
OS: Windows 7 Ultimate running in a VMware Virtual Machine
Toolset: UnixUtils (FIles timestamp, 6/20/2003 4:57 PM, obtained here:
http://unxutils.sourceforge.net/
Updates are installed.
BACKGROUND
Tools are located on the C:\ drive of the virtual machine, in C:\bin.
My MS Windows CMD window PATH is configured to see the C:\bin folder.
PROBLEM
In the CMD window, when I run a command such as 'ls', without the .exe extension, an error message appears,
ERROR:
QUESTION
Is there something I can do to allow the UNIX commands to run in the CMD window WITHOUT the file extension?
Toolset: UnixUtils (FIles timestamp, 6/20/2003 4:57 PM, obtained here:
http://unxutils.sourceforge.net/
Updates are installed.
BACKGROUND
Tools are located on the C:\ drive of the virtual machine, in C:\bin.
My MS Windows CMD window PATH is configured to see the C:\bin folder.
PROBLEM
In the CMD window, when I run a command such as 'ls', without the .exe extension, an error message appears,
ERROR:
"This version of c:\bin\LS.COM is not compatible with the version of Windows you' re running. Check your computer's system information to see whether you need a x 86 (32-bit) or x64 (64-bit) version of the program, and then contact the softwar e publisher."NOTE: When I include the file extension, 'ls.exe', it works just fine with or without arguments, so it is NOT a problem with the PATH. Providing the path, such as '\bin\ls' does not work, either.
QUESTION
Is there something I can do to allow the UNIX commands to run in the CMD window WITHOUT the file extension?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@ frankhelk - Yes, that was the problem, so thank you for pointing this out. I never encountered this before so it had me stumped. I created a sub-folder, C:\bin\_com and moved all the *.com files there. I am now able to execute 'ls' etc, without the extension.
don't know where you got this download from
i used the link you provided and there are no .com files; only .exe
i used the link you provided and there are no .com files; only .exe
searched the folder tree; no .com files so not sure where yours is coming from