Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm with a company that makes communication devices for people with speech impairments. To make a long story short, we have a tool that opens files. It's equivalent to the run dialogue box. Most of the time we can just put the full path to an .exe file and the program starts with no problem but we just ran into one that doesn't work. I've come to the conclusion that the problem is I need to somehow pass the "Start in" path along with the executable. I think you can do this with the built-in start command I found here

But I can't figure out how to write the command! I've tried the following but get an error:

start \d"C:\Program Files\Bookshare\ReadOutLoud Bookshare\Applications\" "C:\Program Files\Bookshare\ReadOutLoud Bookshare\Applications\ReadOutLoud_Bookshare.exe"

Can anybody help?

share|improve this question
    
Assuming you copy/pasted that, your switch is off. start \d should be start /d. If that doesn't fix it, you should edit your question and add the error text. –  nerdwaller May 10 at 4:04

1 Answer 1

The first parameter to start should be a null-string for your example. This has basically been asked and answered here: http://stackoverflow.com/questions/154075/using-the-dos-start-command-with-parameters-passed-to-the-started-program

share|improve this answer
    
Well, your answers gave me a clue. I'm just getting a message saying Windows cannot find start. So now I'm wondering if Windows 8 has some command? I have tried searching on-line but with such a generic term, I can't find anything –  brad3260 May 10 at 13:20
1  
Per another comment, change your option to "/d", and add a space after it, plus the empty string I mentioned. If that doesn't work, repost your exact (new) command and the exact error. –  jimtut May 10 at 16:52
    
I figured out I could use cmd with the /C switch. Thanks for the help –  brad3260 May 10 at 17:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.