1. RE: FW: Inconsistent results

I wrote it on NT, but it's executed on Win2000. I'm hopeing that it's not a
flakey OS issue, that it's something I can correct.

I can't see how the program could sometimes find xcacls but not others.
However, I'll suggest to the tester to move/copy xcacls into the same
directory, or run the program in the same directory to see if it makes a
difference.
 

-----Original Message-----
From: thinkways at YAHOO.COM [mailto:thinkways at YAHOO.COM]
Subject: Re: FW: Inconsistent results



you don't specify which O/S version your using,
-1 would indicate command(file) not found. try
specifying the full path to xcacls 

also try switching from system_exec to system() 
and pipe the stdout to a local results file, which you
can later read into a message box

--- Mark.Ross at fcps.edu wrote:
> 
> 
> Writing a program for our sites help desk (large
> school system) that is
> intended to change permissions for a user on a
> remote machine.
> It performs a "net use" command, then a "xcacls",
> using the
> system_exec(s1,s2) routine, using bindw/exw, version
> 2.2
> 
> The problem is that we cannot get consistent
> results.  First try works OK;
> the xcacls returns the message "processed dir :
> x:|dir1\dir2".  And it may
> work a second or third.  But on some trys we get the
> message "No mapping
> between account names and security IDs were done." 
> Error code 1332.  The
> people who would know say the  user accounts ARE
> there, and the same
> commands can be performed successfully by typing in
> the "net use" and
> "xcacls" directly via the command window.  Sometimes
> the xcacls in the
> program would just not execute, with a -1 error
> code.
> 
> This is a simple program, meant to replace a *.bat
> file, and hide from view
> the password used on the "new use" command.
> 
> I'm a first time user of euphoria, so is there
> something that needs to be
> reset for each run?
> 
>

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu