Parse output of "net use", but language varies - force language for "net use"?

Mark Liam Brown brownmarkliam@gmail.com
Sat Jul 20 13:44:17 GMT 2024


Greetings!

I am trying to parse the output of "net use" in a bash script, but hit
a roadblock:
The output of "net use" changes with the language of the system
(English, Danish, French, ...), so parsing becomes nearly impossible

How can I force the language used by "net use" to English, even if the
system default language is Danish or French?

Mark
-- 
IT Infrastructure Consultant
Windows, Linux


More information about the Cygwin mailing list