Jump to content

Spaces in filename gives errors


islander_810

Recommended Posts

If there are spaces in filenames, it gives errors saying file not found.

Eg...

command.1 = "W:\Windows\Drivers\XP\NVIDIA\163.75 XP x86\setup.exe" -s

What is wrong?

Also, will the above setup be executed silently? Using RunOnceEx, it does. With WIHU, it doesn't.

Edited by islander_810
Link to comment
Share on other sites


You should really consider removing the spaces as it will solve your problem and make installation silent at the same time.

I know this doesn't really answer the question but this is the most certain solution.

I think I've encountered the same problem and fixed it or found its root but I don't remember and can't run wihu now. :(

Link to comment
Share on other sites

  • 1 month later...
If there are spaces in filenames, it gives errors saying file not found.

Eg...

command.1 = "W:\Windows\Drivers\XP\NVIDIA\163.75 XP x86\setup.exe" -s

What is wrong?

Also, will the above setup be executed silently? Using RunOnceEx, it does. With WIHU, it doesn't.

First of all, you need quotes, if the path or the filename contains spaces.

In ur example the switch must be included between the quotes; like this:

command.1 = "W:\Windows\Drivers\XP\NVIDIA\163.75 XP x86\setup.exe -s"

Edited by Tefole
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...