Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- These strings build the argument attribute for a System.Diagnostics.Process call an executable.
- This one fails (and by fails, I mean it calls the executable, but the executable appears to have no arguments at run-time:
- String.Format("-u{0} -p{1} {2} < ""{3}""", argUserName, argPassword, argDatabaseName, argDumpPath)
- This works (calls the executable with the proper arguments):
- String.Format("-u{0} -p{1} -e ""source {2}"" {3}", argUserName, argPassword, argDumpPath, argDatabaseName)
Add Comment
Please, Sign In to add comment