William Thompson

William Thompson

  • 1.6k
  • 155
  • 298.8k

Unexplainable problems running console app from the command line.

Sep 26 2024 7:38 PM

Here is the bottom line and I will cut to the proverbial chase.   I have created an executable in release mode from Microsoft Visual Studio that is a console application.  When I put this .EXE file in a newly-created and empty folder on my computer, it runs without throwing any errors.  It seems to work as it is supposed to.

I have given the program to my IT guy who took it from a flash drive to another computer and ran it from the command line (aka "dos prompt") and it says:

The application to execute does not exist: 'c:\SharePointListCreation.dll'

The strange thing is that the executable is called 'SharePointListCreation.EXE'.  So the error message contains name of the executable but instead of .EXE, it has .DLL.  And, why would it call a DLL an applicationi?


Answers (4)