Re: batch file executes differently for differnt users

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Michael Solomon \(MS-MVP Windows Shell/User\) (user_at_#notme.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 13:32:51 -0700

Please try this question in the windowsxp.network_web newsgroup.

-- 
Michael Solomon MS-MVP
Windows Shell/User
Backup is a PC User's Best Friend
DTS-L.Org: http://www.dts-l.org/
"Dave M." <anonymous@discussions.microsoft.com> wrote in message 
news:2c27701c469bc$72664690$a601280a@phx.gbl...
> I've got a batch file on a shared drive on my network.
> When one user is logged on their machine and they execute
> this file, it works fine.  But when a different user logs
> on the same machine and they attempt to execute the file
> it executes, but does not follow the code as it should.
> The machine is windows XP pro.
>
> What would cause a batch file to execute differently for
> different users on the same machine? 


Relevant Pages

  • Re: SEPKILL /im SMC.EXE /f
    ... ::Save the following as a batch file and execute it. ... can't reproduce on my test systems or requires administrator privileges ...
    (Bugtraq)
  • Re: SEPKILL /im SMC.EXE /f
    ... Subject: SEPKILL /im SMC.EXE /f ... ::Save the following as a batch file and execute it. ...
    (Bugtraq)
  • Re: Batch file and MFC
    ... ShellExecute will look up the .bat file name and launch a process that will execute the ... Overall, I find the batch file approach to be rather primitive, a real throwback ... able to cause a restart of the system. ... nearly all the historical reasons for requiring a restart have gone away. ...
    (microsoft.public.vc.mfc)
  • Re: xp_cmdshell default path (system32) problem
    ... building a batch file in code and then ... it will NOT actually execute the delete if the patch I supply is not valid. ... I'm use xp_cmdShell to execute "erase" command like ...
    (microsoft.public.sqlserver.programming)
  • Re: Passing data between the parent process and bat/cmd
    ... I use CreateProcessto execute whatever has been specified by ... The user needs to have an easy way to specify several return values in the ... as the batch file needs to return string values. ...
    (microsoft.public.vc.language)