selcuks wrote:
But what if I should received the path information as a parameter to my main() method?
The reason you use \\ is because \ is used to escape characters, for example, \" is how you put a quote. You have another option: @"c:\Program Files\Atalasoft\DotImage 6.0" will work fine, the @ means that \ means \. The \\ actually is turned into \ in your final string ( although the debugger will show \\ ). So, if you pass a parameter, it should be a single \, because \\ is in fact how you tell the compiler to emit a single \, if you've not put @ at the front of the string.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )