i added the line
Code:
static void Main(string[] args)
        {
            Console.WriteLine(Environment.CurrentDirectory);
            Console.ReadLine();
            UInt32 PID = 0x00, Letter = 0x00, ReadLetter = 0x00, Pokeball = 0x00, Checksum = 0x00;
[...]
rebuilt the program. if double clicked
Code:
C:\Users\Kazo\documents\visual studio 2010\Projects\pokeshift\pokeshift\bin\Release
if drag and drop test file from desktop
Code:
C:\Users\Kazo\Desktop
if i run it from the compiler in debug mode with the argument set
Code:
C:\Users\Kazo\documents\visual studio 2010\Projects\pokeshift\pokeshift\bin\Debug