Calling a program in windows prompt by absolute path from
C:\Windows directory is working, but calling this program from
C:\Windows\System32 gives me errors.
C:\Windows\System32>D:\pathtoexe\myprogram.exe--> Terminates without doing it's task
The program reads a configuration file from the current directory. The configuration file exists in both (Windows and System32) directories. If I delete the file from the Windows directory then calling the program from the Windows directory terminates with the same error as if I call it from the System32 directory. There should be no file access problems:
C:\Windows>type config.ini--> OK
C:\Windows\system32>type config.ini--> OK
The same program with same configuration file on Windows Server 2003 is working for both directories!
How do I debug why it won't run from system32 on 2008?