Execute an exe program

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.
 
M

Matt Kellner \(MS\)

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.
===============================
 
G

Guest

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.
 
S

Slobodan Brcin \(eMVP\)

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

Regards,
Slobodan
 
G

Guest

Hi Slobodan,

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

Thanks.
 
R

RedCock

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

Guest

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.
 
M

Matt Kellner \(MS\)

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.
===============================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top