I have used the line, as it is the only line with programování in it, so i thought you wanted to use it.
You may use the transcoded name only if you need it somewhere else.
doscode wrote:If I would use the line
Code: Select all
SET VS100COMNTOOLS=P:\programování\C++\Visual Studio 10.0\Common7\Tools\
directly in the original script, that would not help anyway.
This is a hint, that you haven't done what i said above.
Then the line you get (using the default codepage 850) would be:
Code: Select all
SET VS100COMNTOOLS=P:\programov n¡\C++\Visual Studio 10.0\Common7\Tools\
According to which browser you are using you cannot copy and paste from this html code,
or maybe my browser didn't show the right string,
and additionally i cannot know what codepage you are using,
so i've given the way to get the right string.
You should use the codepage, you are using in your batch, so if you change the codepage there,
you have to do it again with the changed codepage, as this may lead to other results.
If i've misunderstood you with what you've written and you have used the changed codeline (with programov n¡), then i can't belive this:
doscode wrote:It results the same result.
It may not work, but it must be then another error.
(Tested the above using winxp home/prof, win7 home 32bit by creating a folder programování using the explorer,
and change to the path using a batch file written with notepad.)
Maybe you have changed the codepage inbetween then you must also change the text used in notepad:
Code: Select all
┌─────────────────────────┬──────────────┐
│ codepage : DOS-Shell │ notepad.exe │
├─────────────────────────┼──────────────┤
│ 850 : programování │ programov n¡ │
│ 1250 : programovßnÝ │ programování │
└─────────────────────────┴──────────────┘
So using codepage 1250 prior to use the string programování in the batch should have helped, too.
(That using codepage 1250 doesn't help you above, sounds a little bit curious and make me wish to sit at your pc to test.
Maybe the path is used by MSVS somewhere else, too, and not only in this batch file;
for example when setting up the %include% pathes, or similar.)
If your system is using another character set than my system, you may list the directory
within the shell and redirect the output of this to a text file (using the codepage you want to use;
example is with default codepage 850) to be sure you are using the right diretcory name:
Code: Select all
Z:\>cmd /A
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Z:\>dir * > "dir.txt"
The result in notepad.exe:
Code: Select all
Datenträger in Laufwerk Z: ist Test
Volumeseriennummer: 0438-EEA7
Verzeichnis von z:\
02.09.2013 13:49 <DIR> .
02.09.2013 13:49 <DIR> ..
02.09.2013 13:22 <DIR> programov n¡
0 Datei(en) 0 Bytes
3 Verzeichnis(se), 986.465.644.544 Bytes frei
penpen