Is it possible to open an exe file having a space in its name using Autorun.inf

I have a file named "my file.exe"
Is there any way to open this file using Autorun.inf?

I wrote an autorun file as shown below

[autorun]
open : my file.exe

but this is not working.
Is it possible to open such a file having a space in its name using the open command.
Reported. Irrelevant question.
How do you mean, "irrelevant"? It is a DOS/Windows question.

Surround the filename with double-quotes:
1
2
[autorun]
open: "my file.exe"

I think that should work.

Hmm, to be fair, the question doesn't have any direct relationship to using C or C++.
I think that should work.


+1
Topic archived. No new replies allowed.