tags:

views:

18

answers:

2

After a bit of googling and searching here, couldn't find the answer to this silly question!

For a structure like this...

dirZero
|---dirOne
|---|---myProgram.exe

How do I run "myProgram" if my current directory is dirZero? I.E.,

C:\dirZero> dirOne/myProgram.exe

...which obviously doesn't work. Thanks in advance.

+1  A: 

Use a backslash instead

C:\dirZero> dirOne\myProgram.exe
Preet Sangha
Unbelievable thanks mate.
Steve
+2  A: 

You should use a backslash \, instead of forward slash. /

C:\dirZero> dirOne\myProgram.exe

Or, wrap it with double quotes "

C:\dirZero> "dirOne/myProgram.exe"
Ruel
Got it thanks. *facepalm*
Steve