Problem adding extra file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm having a problem getting Extra Files to work. [Okay, it might be the
dumb question of the day]. But, when I try to build the image, I'm getting
an error message that the file was not found.

I have a batch file (located at E:\) that I want installed to All
Users\Start Menu. Here's what I did to add the file:

Right clicked on Extra Files and selected Add...
Clicked on Browse... button, browsed to the file (on E:\) and selected the
file.
Clicked on the > by Destination and selected "All Users\Start Menu", which
was converted to %16406% in the Destination field.
Clicked OK.

I've tried entering in E:\Test1.bat in Source Name, but colons and
backslashes are not allowed.

Anyone know what I'm did wrong?

TIA,

Richard
 
Richard,

Since you are not creating new repository (within your own component) to bring in that file you'd need to add the E:\ to the search
path in TD for extra files.

In TD please go to Tools-->Options-->Build tab and add E:\ to the first filed there (Extra Files Folder).
 
Thanks, that did the trick. I also needed to add the CMD component in order
for the batch file to execute.

KM said:
Richard,

Since you are not creating new repository (within your own component) to bring in that file you'd need to add the E:\ to the search
path in TD for extra files.

In TD please go to Tools-->Options-->Build tab and add E:\ to the first filed there (Extra Files Folder).

--
=========
Regards,
KM
I'm having a problem getting Extra Files to work. [Okay, it might be the
dumb question of the day]. But, when I try to build the image, I'm getting
an error message that the file was not found.

I have a batch file (located at E:\) that I want installed to All
Users\Start Menu. Here's what I did to add the file:

Right clicked on Extra Files and selected Add...
Clicked on Browse... button, browsed to the file (on E:\) and selected the
file.
Clicked on the > by Destination and selected "All Users\Start Menu", which
was converted to %16406% in the Destination field.
Clicked OK.

I've tried entering in E:\Test1.bat in Source Name, but colons and
backslashes are not allowed.

Anyone know what I'm did wrong?

TIA,

Richard
 
Yup. And you launch CMD.exe and provide your batch file as argument (with /C or /K switch added).

--
=========
Regards,
KM
Thanks, that did the trick. I also needed to add the CMD component in order
for the batch file to execute.

KM said:
Richard,

Since you are not creating new repository (within your own component) to bring in that file you'd need to add the E:\ to the
search
path in TD for extra files.

In TD please go to Tools-->Options-->Build tab and add E:\ to the first filed there (Extra Files Folder).

--
=========
Regards,
KM
I'm having a problem getting Extra Files to work. [Okay, it might be the
dumb question of the day]. But, when I try to build the image, I'm getting
an error message that the file was not found.

I have a batch file (located at E:\) that I want installed to All
Users\Start Menu. Here's what I did to add the file:

Right clicked on Extra Files and selected Add...
Clicked on Browse... button, browsed to the file (on E:\) and selected the
file.
Clicked on the > by Destination and selected "All Users\Start Menu", which
was converted to %16406% in the Destination field.
Clicked OK.

I've tried entering in E:\Test1.bat in Source Name, but colons and
backslashes are not allowed.

Anyone know what I'm did wrong?

TIA,

Richard
 
Actually, no. I'm really am just experimenting at the moment and I just
created a one-line batch file with the statement:

"\Program Files\Internet Explorer\iexplore.exe" -k

Richard


KM said:
Yup. And you launch CMD.exe and provide your batch file as argument (with /C or /K switch added).

--
=========
Regards,
KM
Thanks, that did the trick. I also needed to add the CMD component in order
for the batch file to execute.

KM said:
Richard,

Since you are not creating new repository (within your own component) to bring in that file you'd need to add the E:\ to the
search
path in TD for extra files.

In TD please go to Tools-->Options-->Build tab and add E:\ to the first filed there (Extra Files Folder).

--
=========
Regards,
KM

I'm having a problem getting Extra Files to work. [Okay, it might be the
dumb question of the day]. But, when I try to build the image, I'm getting
an error message that the file was not found.

I have a batch file (located at E:\) that I want installed to All
Users\Start Menu. Here's what I did to add the file:

Right clicked on Extra Files and selected Add...
Clicked on Browse... button, browsed to the file (on E:\) and selected the
file.
Clicked on the > by Destination and selected "All Users\Start Menu", which
was converted to %16406% in the Destination field.
Clicked OK.

I've tried entering in E:\Test1.bat in Source Name, but colons and
backslashes are not allowed.

Anyone know what I'm did wrong?

TIA,

Richard
 
Hmm.. That's not what I said.
If you want to launch a batch file you will need to actually launch CMD.exe and provide the batch file path as argument.

You can certainly launch IE instead if acceptable by your image design. But not the batch file.

Or are we talking about different things here?

--
=========
Regards,
KM
Actually, no. I'm really am just experimenting at the moment and I just
created a one-line batch file with the statement:

"\Program Files\Internet Explorer\iexplore.exe" -k

Richard


KM said:
Yup. And you launch CMD.exe and provide your batch file as argument (with /C or /K switch added).

--
=========
Regards,
KM
Thanks, that did the trick. I also needed to add the CMD component in order
for the batch file to execute.

:

Richard,

Since you are not creating new repository (within your own component) to bring in that file you'd need to add the E:\ to the
search
path in TD for extra files.

In TD please go to Tools-->Options-->Build tab and add E:\ to the first filed there (Extra Files Folder).

--
=========
Regards,
KM

I'm having a problem getting Extra Files to work. [Okay, it might be the
dumb question of the day]. But, when I try to build the image, I'm getting
an error message that the file was not found.

I have a batch file (located at E:\) that I want installed to All
Users\Start Menu. Here's what I did to add the file:

Right clicked on Extra Files and selected Add...
Clicked on Browse... button, browsed to the file (on E:\) and selected the
file.
Clicked on the > by Destination and selected "All Users\Start Menu", which
was converted to %16406% in the Destination field.
Clicked OK.

I've tried entering in E:\Test1.bat in Source Name, but colons and
backslashes are not allowed.

Anyone know what I'm did wrong?

TIA,

Richard
 
Back
Top