runas in access module

  • Thread starter Thread starter JIM.H.
  • Start date Start date
J

JIM.H.

Hello,
Is there any way to run RUNAS kind of thins in Access
module. I need to create a file in a folder that the user
has no write access. Or how can I run a batch in the
module?
Thanks,
Jim.
 
You can use the Shell command to run cmd.exe. Run it with the /C switch and
it will exit the command window when done. You can also run the window
hidden.

It may be better to give the user permissions to create a file, but deny
them change permissions.
 
how can I run shell cmd.exe hidden?
-----Original Message-----
You can use the Shell command to run cmd.exe. Run it with the /C switch and
it will exit the command window when done. You can also run the window
hidden.

It may be better to give the user permissions to create a file, but deny
them change permissions.

--
Wayne Morgan
Microsoft Access MVP





.
 
Back
Top