runas in access module

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.
 
W

Wayne Morgan

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.
 
G

Guest

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





.
 
Top