Re: Muilti-language batch files
- From: Mike Williams <mikew@xxxxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 19:12:45 +0200
wlattery wrote:
I have a GUI program that runs on Java. To start the program, I execute a batch file. The batch file has set statement:@set FP2HOME="C:\Program Files\Transition\FocalPoint2"
The problem is that the batch file does not work on PC's that have Win XP installed using a non-english language. Apparently, the directory name 'Program Files' is translated to a different name on the other languages. How do I make a batch file to work on all Win XP language versions?
I would appreciate any help
Thanks
To access standard Windows folders reliably you should use Win32 API calls or wrappers for such.
As an example, here are some .NET doc references that came up on Google: http://www.codeproject.com/dotnet/netdiagnostics4.asp
MSDN Library should help you with the rest.
.
- Prev by Date: Re: LPR printing
- Next by Date: Re: Can you install XP without booting from CD?
- Previous by thread: Re: epson r220 printer
- Next by thread: Widescreen monitor best resolution?
- Index(es):
Relevant Pages
|
|