A
Andrew Aronoff
I'm writing a cmd-file under W2K that will need to work in _any_
language. The file includes a CACLS command:
echo Y| cacls "filename" /G everyone:F
This works fine, of course, in an English install, but it fails in any
foreign-language install where "Y" is not used locally for "Yes".
Is there any way to write a universally-valid version of this command?
(Unfortunately, I'm restricted from using WMI.)
If not, is there any way to run a prior command that reveals the local
equivalent of "Yes" and "No" so that a locally valid version can be
constructed?
regards, Andy
--
**********
Please send e-mail to: usenet (dot) post (at) aaronoff (dot) com
**********
language. The file includes a CACLS command:
echo Y| cacls "filename" /G everyone:F
This works fine, of course, in an English install, but it fails in any
foreign-language install where "Y" is not used locally for "Yes".
Is there any way to write a universally-valid version of this command?
(Unfortunately, I'm restricted from using WMI.)
If not, is there any way to run a prior command that reveals the local
equivalent of "Yes" and "No" so that a locally valid version can be
constructed?
regards, Andy
--
**********
Please send e-mail to: usenet (dot) post (at) aaronoff (dot) com
**********