Help - Search - Members - Calendar
Full Version: Spaces in filename gives errors
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
islander_810
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.
Camarade_Tux
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. sad.gif
islander_810
Oh... sad.gif
Tefole
QUOTE (islander_810 @ Dec 23 2007, 04:08 AM) *
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:
CODE
command.1 = "W:\Windows\Drivers\XP\NVIDIA\163.75 XP x86\setup.exe -s"
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.