Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.92 KB | None | 0 0
  1. This code works just fine, it's just a problem adding a single " sign 2 places
  2. Process.Start(GamePortalPath + "\\Source\\Games\\Game1\\dosbox.exe", "-conf " + GamePortalPath + "\\Source\\Games\\Game1\\dosbox.conf");
  3.  
  4. This will Output:
  5. D:\Source\\Games\Game1\dosbox.exe -conf D:\Source\Games\Game1\dosbox.conf
  6.  
  7. The problem comes in the progress parameter section where i needto add " infront of D:\.... and " after ...dosbox.conf like this:
  8. D:\Source\\Games\Game1\dosbox.exe -conf "D:\Source\Games\Game1\dosbox.conf"
  9.  
  10. And this code here is just plain failure ^^ :
  11. Process.Start(GamePortalPath + "\\Source\\Games\\Game1\\dosbox.exe", "-conf "" + GamePortalPath + "\\Source\\Games\\Game1\\dosbox.conf"");
  12.  
  13. I cannot add a single " since it will trigger a "" code to start or stop.
  14. Is there any way to use an ascii or anything like with HTML there is "codes" like   for "space" as an example... or any other "right way" ^^ ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement