MSFN Forum: Spaces in filename gives errors - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Spaces in filename gives errors Rate Topic: -----

#1 User is offline   islander_810 

  • Compulsive Tweaker
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 06-January 07

Posted 23 December 2007 - 03: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.

This post has been edited by islander_810: 23 December 2007 - 03:09 AM



#2 User is offline   Camarade_Tux 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,760
  • Joined: 22-May 05

Posted 23 December 2007 - 06:21 AM

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

#3 User is offline   islander_810 

  • Compulsive Tweaker
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 06-January 07

Posted 23 December 2007 - 09:45 AM

Oh... :(

#4 User is offline   Tefole 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 04-September 04

Posted 06 February 2008 - 05:40 PM

View Postislander_810, on Dec 23 2007, 04:08 AM, said:

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"

This post has been edited by Tefole: 06 February 2008 - 05:41 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy