Anesthaesia
Technical User
Hi All,
I have a .bat file which I am executing using a Shell command. However, when I execute it using Shell the commands in the batch file are not executed - if I run the bat directly it works fine. Any ideas why this is?
It's a very simple file which changes directories then executes an exe (folder needs to be selected as exe is path dependant) What seems to be happening is the change directory commands are not taking effect (limited logging points to this as being the problem)
The lines are
E:
cd demo\reports
"e:\demo\demo.exe"
As I said, when executing the bat file on it's own it does wnat it's supposed to...
Cheers,
D
I have a .bat file which I am executing using a Shell command. However, when I execute it using Shell the commands in the batch file are not executed - if I run the bat directly it works fine. Any ideas why this is?
It's a very simple file which changes directories then executes an exe (folder needs to be selected as exe is path dependant) What seems to be happening is the change directory commands are not taking effect (limited logging points to this as being the problem)
The lines are
E:
cd demo\reports
"e:\demo\demo.exe"
As I said, when executing the bat file on it's own it does wnat it's supposed to...
Cheers,
D