I have a batch file saved as follows
\\Global.com\file\ResourcePlanningControl\shared\ResourcePlanningControl\FTE Control\Branch\Public Folder Access\Glide Paths\RevokePublicAccess - Glide Paths.bat
I would like to call and execute this file as part of a rountine.
A colleague has supplied the following code to do this
but this doesn't seem to work.
Not sure how to correct this and is this the best way of doing this?
Thanks
\\Global.com\file\ResourcePlanningControl\shared\ResourcePlanningControl\FTE Control\Branch\Public Folder Access\Glide Paths\RevokePublicAccess - Glide Paths.bat
I would like to call and execute this file as part of a rountine.
A colleague has supplied the following code to do this
Code:
Call Shell(Environ$("COMSPEC") & " /c \\Global.com\file\ResourcePlanningControl\shared\ResourcePlanningControl\FTE Control\Branch\Public Folder Access\Glide Paths\RevokePublicAccess - Glide Paths.bat", vbNormalFocus)
Not sure how to correct this and is this the best way of doing this?
Thanks