Theo Posted May 9, 2006 Share Posted May 9, 2006 hiya, well ive asked 2 questions on here and had 2 answers to solve the problems!! lets keep up the good work with my million and one questions that follow in the weeks to come hahaha.ok my emulator is visual boy advanced 1.7.2. and works fine on its own, when selecting a game in gameex it disapears for about 3 seconds then goes back to the game selection screen.Rom Filter: *.gba;*.gbc;*.gbROMS in folders: NoROM Path: C:\Emulators\Games\Game Boy AdvancedWorking Path: C:\Emulators\Emulators Data\Game Boy Advanced - Visual Boy Advance 1.7.2Debug Mode: Nothing SelectedCommand Line: Visual Boy Advance 1.7.2 [ROMPath]\[RomFile] ideas or suggestions welcome ta! Link to comment Share on other sites More sharing options...
Adultery Posted May 9, 2006 Share Posted May 9, 2006 hiya, well ive asked 2 questions on here and had 2 answers to solve the problems!! lets keep up the good work with my million and one questions that follow in the weeks to come hahaha.ok my emulator is visual boy advanced 1.7.2. and works fine on its own, when selecting a game in gameex it disapears for about 3 seconds then goes back to the game selection screen.Rom Filter: *.gba;*.gbc;*.gbROMS in folders: NoROM Path: C:\Emulators\Games\Game Boy AdvancedWorking Path: C:\Emulators\Emulators Data\Game Boy Advanced - Visual Boy Advance 1.7.2Debug Mode: Nothing SelectedCommand Line: Visual Boy Advance 1.7.2 [ROMPath]\[RomFile] ideas or suggestions welcome ta!Okay. I can see what the problem is.Try this in the command line:VisualBoyAdvance.exe "[ROMPath]\[RomFile]"Hope that helps. Link to comment Share on other sites More sharing options...
Theo Posted May 9, 2006 Author Share Posted May 9, 2006 Okay. I can see what the problem is.Try this in the command line:VisualBoyAdvance.exe "[ROMPath]\[RomFile]"Hope that helps. THANKYOU!easy when you know how! Link to comment Share on other sites More sharing options...
Vynce Posted May 9, 2006 Share Posted May 9, 2006 Windows uses the space character to delimit each of the arguments to the executable. So,some_exe.exe arg1 arg2has two arguments. The problem occurs when the arguments have spaces in them. For example,some_exe.exe C:\Program FilesC:\Program would be seen as argument 1 and Files would be seen as argument 2, which is not what you were intending. Placing double quotes around each argument tells windows that everything within the quotes is one argument.some_exe.exe "C:\Program Files"sends C:\Program Files as a single argument, avoiding the problem caused by the spaces. It doesn't hurt anything to use quotes even when you don't need them.So when you're using variables to pass arguments that might have spaces, just stick quotes around them to ensure that they're treated as a single argument. Hence,some_exe.exe "[ROMPath]\[RomFile]"I hope that helps you understand why the quotes are needed Link to comment Share on other sites More sharing options...
parallax2135 Posted May 10, 2006 Share Posted May 10, 2006 Yeah, I had the same issue (not adding the quotes)! Luckily this post was already added and I didn't have to search long. Man, I love this forum! Link to comment Share on other sites More sharing options...
Recommended Posts