theniteowl
Programmer
Hi Everyone,
Our image storage system is moving its staging folders to a new file share. We have been given full control access to the folders our system writes the images to.
Our system creates post processing bat files to perform actions after the images are generated and in some cases this includes a command to delete temporary files but I have discovered that when executed from a bat file the command is receiving an Access Denied error. Interestingly when I access the folders in Windows Explorer I can delete the files, just not when it is executed from a command prompt.
I have manually checked the permissions in the folder and the individual files and we appear to have the access we need so I am at a loss to explain why it fails when executed from a bat file.
This system has been in place for years, the only change is the new file share. I am still trying to get details on the nature of that file share such as if it is NAS, SAN or just a direct share on a Windows or Linux server.
Has anyone seen this issue before? Any thoughts on what could be wrong? The permissions are assigned through an Active Directory group and they are inherited from a higher level. Is there a chance there are restrictions applied that I am not able to see?
Any thoughts or suggestions would be appreciated.
Thanks.
Trent
At my age I still learn something new every day, but I forget two others.
Our image storage system is moving its staging folders to a new file share. We have been given full control access to the folders our system writes the images to.
Our system creates post processing bat files to perform actions after the images are generated and in some cases this includes a command to delete temporary files but I have discovered that when executed from a bat file the command is receiving an Access Denied error. Interestingly when I access the folders in Windows Explorer I can delete the files, just not when it is executed from a command prompt.
I have manually checked the permissions in the folder and the individual files and we appear to have the access we need so I am at a loss to explain why it fails when executed from a bat file.
This system has been in place for years, the only change is the new file share. I am still trying to get details on the nature of that file share such as if it is NAS, SAN or just a direct share on a Windows or Linux server.
Has anyone seen this issue before? Any thoughts on what could be wrong? The permissions are assigned through an Active Directory group and they are inherited from a higher level. Is there a chance there are restrictions applied that I am not able to see?
Any thoughts or suggestions would be appreciated.
Thanks.
Trent
At my age I still learn something new every day, but I forget two others.