It should be...

"C:\Program Files\GStudio7\WED.exe" -p "$(TargetDir)\$(TargetFileName)".

Open the folder where your exe is located (usually in the bin/debug folder) and when you build your project, check to see that the 'acknex.dll' is actual copied.