Hi, Skybuck.
Are you running Vista? Are you THE Administrator? Does Vista know this?
Open an Administrator:Command Prompt. (Right-click cmd.exe, then Run as
Administrator.) Run your batch file in this window.
Yes, this is a new security feature. Vista doesn't like to run .exe files
without proof that the Administrator is in control.
RC
--
R. C. White, CPA
San Marcos, TX
rc.RemoveThis@grandecom.net
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)
"Skybuck Flying" <spam.RemoveThis@hotmail.com> wrote in message
news:40c$47930f4e$541983fa$14059@cache5.tilbu1.nb.home.nl...
> Hello.
>
> file contents neuk.bat:
> program.exe
>
> console commands entered:
> cd c:\bla\bla
> c:\bla\bla\neuk.bat
>
> "can't execute program.exe" it says.
>
> This seems abnormal from ms-dos 6.22 days ?
>
> The batch file is supposed to execute the program.exe no matter from what
> folder the batch file is invoked ?
>
> Seems to be a bug ????
>
> Or is this a new "security feature" ?
>
> Bye,
> Skybuck.