operate the files whose path contain space in XPE image

G

Guest

Hi
Thank you for taking time to read my issue
In my XPE image,I operate a file in a folder whose path contains the space
and my script has a error "There in no file extension in "C:\program"".for a
simple example,I create a file in the Program files by script. I added some
components to my project by target designer,but all were failed. I don't know
whether the XPE identify the path which contain the space

I test a simple example:
create a file "C:\program files\hello.vbs"
in the hello.vbs there is only one sentence: MsgBox "hello"
run this hello.vbs script in the XPE image
the error is "There is no file extension in "C:\program""
run this hello.vbs script in xp system, it is successful
I suppose that there is a lack of some components in the XPE image
But I can't find the correct one

I want to know whether the XPE file system support the path which contain
the space

Thanks very much

annie
 
K

KM

annie,

How do you launch the VBS script on XPe system?
FBA command or manually in Explorer shell?

If the first, please show us here how you set up the command parameters.
If the error is seen in Explorer, you should probably check the vbs file extension settings in registry
([HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command],default) and see if the %1 parameter there is passed to WScript.exe with quotes
around.

What service pack of the product you're using?
Similar problem has been fixed in SP2 (SP1 QFE).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top