0

c# visual studio 2008 , setup project ,file types on targed machine, &open-> Arguments http://msdn.microsoft.com/en-us/library/0ehs907t(VS.71).aspx

in this section i can write only characters, how can i specify file name (to open).

Many Thanks

1 Answer 1

1

Use the %1 variable, so if all you wanted to pass as arguments to your exe is the file name, then use:

"%1"

As the arguments. If you wanted to precede it with a command, say, "/open", you'd use:

/open "%1"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.