Bat file execute

I’m trying to execute a bat file inside an entity custom screen but when i click it it gives me an error …
The file exist but the log file has another opinion :smile:

 [Exception Info 1]

Top-level Exception
Type:        System.ComponentModel.Win32Exception
Message:     The system cannot find the file specified
Source:      System
Stack Trace: at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Samba.Presentation.Common.ActionProcessors.StartProcess.Process(ActionData actionData)




This is not a bat file. This is a shortcut.

2 Likes

Sorry @emre wrong picture …
The bat file I use but I have the same problem …
bat file name CustomerScreen.bat

any suggestions ?
Anyone ?

Thats in your initial error, sure you got correct directory?
You dont have known extensions hidden do you?
Following on from emres comment maybe the file you have is .bat.something?

No the files name is CustomerScreen.bat and known extensions are enable …

Show screenshot of the file.

Hi @Jesse, as soon as I return home I’ll post a screenshot.

The error is very specific it can’t find the file.

1 Like

for some weird reason sambapos refuse to run bat files …
i convert it to .exe and everything works like a charm …

Thank you all …