Execute an exe program

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why when i try to execute regedit.exe, or notepad.exe or another windows
program, on the command shell, the system say 'The system cannot execute the
specified program'.

I'm use Winlogon and command shell.

What component is missing. ??

Thank you.
 
It sounds like you're missing some components and/or dependencies. Silly
question: Have you included the necessary components to run regedit.exe and
notepad.exe? These are "Registry Editor" and "Windows Accessories",
respectively. Once you include those components, you need to run another
dependency check. These components are not included automatically in the
Winlogon scenario component.

Hope this helps.

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
Hi Matt,

Yes, I've added these components.
Infact, i've windows\regedit.exe and windows\system32\notepad.exe but they
not work. !!!!

What is the missing. ??

Thank you.
 
Try starting them from command prompt and let us know exact error reported in console.

Regards,
Slobodan
 
Hi Slobodan,

From command prompt the message is 'The system cannot execute the
specified program'.

Thanks.
 
This will be helpful:
run "assoc .exe=exefile" at command line
and then any .exe file can be executed.
 
EUREKA !!!

If i used FAT32 file system, regedit or notepad not work !!!!
if i used NTFS file system, regedit and other .exe file work fine. !!!

Thank's All.
 
That's bizarre. As far as I know, there is no particular reason why those
programs should work in NTFS and not in FAT. The file-system components
don't bring in any different dependencies that would affect how the system
executes programs. I wonder if this has something to do with a low-level
security component?

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
Back
Top