|
Re: Exit Operation Issue with v9.4
How are you calling that exe Andre?
How are you calling that exe Andre?
|
By
Jim Stephenson
·
#195980
·
|
|
Re: Exit Operation Issue with v9.4
Hi Dave and Jim,
I build an Exe to solve the problem:
==
using System;
using System.Diagnostics;
namespace ExecBatch
{
class Program
{
static void Main(string[] args)
{
Hi Dave and Jim,
I build an Exe to solve the problem:
==
using System;
using System.Diagnostics;
namespace ExecBatch
{
class Program
{
static void Main(string[] args)
{
|
By
De Netwerkadviseur BV
·
#195979
·
|
|
Re: Exit Operation Issue with v9.4
Jim and Andre
It does appear to be an issue with SP8 as I'm running 9.4 on Win81.
One thing i have noticed is if I call cmd.exe it's ok, so i tried to following line and it appears to work
'cmd.exe /k
Jim and Andre
It does appear to be an issue with SP8 as I'm running 9.4 on Win81.
One thing i have noticed is if I call cmd.exe it's ok, so i tried to following line and it appears to work
'cmd.exe /k
|
By
Dave Beckinsale
·
#195978
·
|
|
Re: Exit Operation Issue with v9.4
Dave, that is strange it works by changing it to Wait: No.
I really don't like the idea of having to put a pause in the task though. The idea with this task is to start it and walk away.
Andre, this
Dave, that is strange it works by changing it to Wait: No.
I really don't like the idea of having to put a pause in the task though. The idea with this task is to start it and walk away.
Andre, this
|
By
Jim Stephenson
·
#195977
·
|
|
Re: Exit Operation Issue with v9.4
Hi Jim and Dave,
Are you using a Windows 11 version? I remember something simular with .bat executing from Exit command with Windows 11. Works fine with Windows 10.
If you can confirm, I will look
Hi Jim and Dave,
Are you using a Windows 11 version? I remember something simular with .bat executing from Exit command with Windows 11. Works fine with Windows 10.
If you can confirm, I will look
|
By
De Netwerkadviseur BV
·
#195976
·
|
|
Re: Exit Operation Issue with v9.4
Hi Jim,
I've just tested an old program with an exit operation in SP8c and get the same result as you, file not found.
However if I toggle wait on the exit operation to No, the file is found and it
Hi Jim,
I've just tested an old program with an exit operation in SP8c and get the same result as you, file not found.
However if I toggle wait on the exit operation to No, the file is found and it
|
By
Dave Beckinsale
·
#195975
·
|
|
Re: Exit Operation Issue with v9.4
Is m local? If not perhaps use \\servername\path\…
Same if you’re using SUBST
Sherm
Sherm
Is m local? If not perhaps use \\servername\path\…
Same if you’re using SUBST
Sherm
Sherm
|
By
sherman levine
·
#195974
·
|
|
Re: Exit Operation Issue with v9.4
Hi Jim
I had a similar issue on an older client.
quick question... is your licence.dat in the same folder as your Magic 9.4 install?
if so, this is what I did to make my batch files start working
Hi Jim
I had a similar issue on an older client.
quick question... is your licence.dat in the same folder as your Magic 9.4 install?
if so, this is what I did to make my batch files start working
|
By
Stephen Saxton
·
#195973
·
|
|
Re: Exit Operation Issue with v9.4
Me too.
By
Jim Stephenson
·
#195972
·
|
|
Re: Exit Operation Issue with v9.4
I'm out of ideas :-(
By
sherman levine
·
#195971
·
|
|
Re: Exit Operation Issue with v9.4
I can ctrl-z and then paste the exit operation I am using ("M:\MAGIC9\INDMEAT\EXPORT\NEWDOWNLOAD.BAT") and it runs just fine.
Both sp7 and sp8 run the exact same operation.
I can ctrl-z and then paste the exit operation I am using ("M:\MAGIC9\INDMEAT\EXPORT\NEWDOWNLOAD.BAT") and it runs just fine.
Both sp7 and sp8 run the exact same operation.
|
By
Jim Stephenson
·
#195970
·
|
|
Re: Exit Operation Issue with v9.4
Does the newer version have permissions to write the batch file where you want it?
Does the newer version have permissions to write the batch file where you want it?
|
By
Wes Hein
·
#195969
·
|
|
Re: Exit Operation Issue with v9.4
Can you execute the .BAT from the Ctrl+Z window?
Might the .BAT reference a program/file which exists in your sp7 folder but not in your sp8 folder?
Can you execute the .BAT from the Ctrl+Z window?
Might the .BAT reference a program/file which exists in your sp7 folder but not in your sp8 folder?
|
By
sherman levine
·
#195968
·
|
|
Re: Exit Operation Issue with v9.4
Yep, that works. It brings up a command window. But it still can't find the bat file when I run the program..
The thing that really confuses me is that the same INI and Control file that works just
Yep, that works. It brings up a command window. But it still can't find the bat file when I run the program..
The thing that really confuses me is that the same INI and Control file that works just
|
By
Jim Stephenson
·
#195967
·
|
|
Re: Exit Operation Issue with v9.4
CommandProcessor entry correct?
Try just ctrl+Z and see if that opens an OS window
Sherm
CommandProcessor entry correct?
Try just ctrl+Z and see if that opens an OS window
Sherm
|
By
sherman levine
·
#195966
·
|
|
Re: Exit Operation Issue with v9.4
Alex,
It has the full path and double quotes don't make a difference (I already tried that).
Jim
Alex,
It has the full path and double quotes don't make a difference (I already tried that).
Jim
|
By
Jim Stephenson
·
#195965
·
|
|
Re: Exit Operation Issue with v9.4
Jim,
Make sure you are defining the full path to your batch file and that it is enclosed in double quotes at the beginning and also at the end
Exmaple: "C:\My Path\Batchfile.bat"
Jim,
Make sure you are defining the full path to your batch file and that it is enclosed in double quotes at the beginning and also at the end
Exmaple: "C:\My Path\Batchfile.bat"
|
By
Alex Medvedovski
·
#195964
·
|
|
Exit Operation Issue with v9.4
I have an old app in eDev 9.4 that has been running just fine.
I needed to make a change in the way I am importing some txt files into this app so brought it back to my computer to make the
I have an old app in eDev 9.4 that has been running just fine.
I needed to make a change in the way I am importing some txt files into this app so brought it back to my computer to make the
|
By
Jim Stephenson
·
#195963
·
|
|
Beware SpecialInitialExpandAll (XPA481)
Just a minor heads up warning not just about using the new Special “SpecialInitialExpandAll” (XPA481), but also about the new extended use of the .opt file (XPA48 onwards).
I am not a fan of
Just a minor heads up warning not just about using the new Special “SpecialInitialExpandAll” (XPA481), but also about the new extended use of the .opt file (XPA48 onwards).
I am not a fan of
|
By
Steven Burrows
·
#195962
·
|
|
Re: OfficeCOM for Magic XPA 4.8
Don't think the source code was ever available, just have to use what you get. Should be a copy of the component in the file section
Wes
Don't think the source code was ever available, just have to use what you get. Should be a copy of the component in the file section
Wes
|
By
Wes Hein
·
#195961
·
|