MS 98 error: [This program has perform an illegal operation]

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Shel
Newbie
Posts: 8
Joined: Mon Nov 29, 2004 1:00 pm
Location: Providence RI

MS 98 error: [This program has perform an illegal operation]

Post by Shel » Tue Dec 14, 2004 11:12 pm

Hello All,
Does anybody have any insights into why my executables won’t run on MS 98 machines? I’m getting an error: [This program has perform an illegal operation]. It works fine on 2000 and XP.

Thanks, Shel

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed Dec 15, 2004 5:22 pm

Hi,

Forget what I just said. The problem is with the filename in DateStamp. If that path does not exist on the target machine you will get an error. I was able to duplicate the error with your script but fixed the error by changing the path to one that exists on the target machine.

Don't forget that you have variables available such as:

SCRIPT_DIR
SYS_DIR
WIN_DIR
TEMP_DIR

Which give you valid paths on the target machine. SCRIPT_DIR is a good place to store log files etc.
MJT Net Support
[email protected]

Shel
Newbie
Posts: 8
Joined: Mon Nov 29, 2004 1:00 pm
Location: Providence RI

Post by Shel » Wed Dec 15, 2004 10:46 pm

HI, not sure if I follow you ... I do have the Yes-No.txt file in the target folder when I copy the Mssav6 folder into C: of the target machine, only because I test them on my machine as I changes the Send>3750 ID number to the next one [ie 3750, 3751, 3752 and so on.

On the 2000 and XP machines the DateStamp> writes it even if it's not there.

This the folder I copy to the target machines:
C:\Mssav6\Sabre\Mssabre.exe

And this is the command:
DateStamp>C:\Mssav6\Sabre\Yes-No.txt,No

Thanks Shel
Last edited by Shel on Thu Dec 16, 2004 5:54 pm, edited 1 time in total.

Guest

Post by Guest » Thu Dec 16, 2004 12:19 am

Dumb question probably, but can you use a "-" in a filename under W98?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts