Jump to content

Spaces in filename gives errors


Recommended Posts

Posted (edited)

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

Posted

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. :(

  • 1 month later...
Posted (edited)
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

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...