Hi All,
I need to include an application as part of the CE image. The Application
needs a directory structure.ie a "RES" folder for resource files and
something like that.
I checked the .bib files . But i couldnt find a method to add files to a
specific directory in the windows directory.

Is there any way of doing this? In otherwords is it possible to add a folder
itself to the Nk.bin?
Or do i need my application guys to put all files in a flat directory?
Anyhelp in this regards is most welcome.
thanks in advance.
Ajith

RE: Help!! Adding folder to the Nk.bin by LucaCalligaris

LucaCalligaris
Mon Dec 17 00:38:00 PST 2007

you have to use the .dat files to create the folder, for example:

project.bib

yourfile.dll $(_FLATRELEASEDIR)\yourfile.dll NK

project.dat

;create a subdir in windows
Directory("\Windows"):-Directory("yourdir")
;put your file in the folder
Directory("\Windows\yourdir"):-File("yourfile.dll","\Windows\yourfile.dll")

search for "File System File" in your the help



"Ajith" wrote:

> Hi All,
> I need to include an application as part of the CE image. The Application
> needs a directory structure.ie a "RES" folder for resource files and
> something like that.
> I checked the .bib files . But i couldnt find a method to add files to a
> specific directory in the windows directory.
>
> Is there any way of doing this? In otherwords is it possible to add a folder
> itself to the Nk.bin?
> Or do i need my application guys to put all files in a flat directory?
> Anyhelp in this regards is most welcome.
> thanks in advance.
> Ajith

RE: Help!! Adding folder to the Nk.bin by Ajith

Ajith
Mon Dec 17 01:30:02 PST 2007

Hi,
Thanks a lot for the input.
regards
Ajith

"Luca Calligaris" wrote:

> you have to use the .dat files to create the folder, for example:
>
> project.bib
>
> yourfile.dll $(_FLATRELEASEDIR)\yourfile.dll NK
>
> project.dat
>
> ;create a subdir in windows
> Directory("\Windows"):-Directory("yourdir")
> ;put your file in the folder
> Directory("\Windows\yourdir"):-File("yourfile.dll","\Windows\yourfile.dll")
>
> search for "File System File" in your the help
>
>
>
> "Ajith" wrote:
>
> > Hi All,
> > I need to include an application as part of the CE image. The Application
> > needs a directory structure.ie a "RES" folder for resource files and
> > something like that.
> > I checked the .bib files . But i couldnt find a method to add files to a
> > specific directory in the windows directory.
> >
> > Is there any way of doing this? In otherwords is it possible to add a folder
> > itself to the Nk.bin?
> > Or do i need my application guys to put all files in a flat directory?
> > Anyhelp in this regards is most welcome.
> > thanks in advance.
> > Ajith

RE: Help!! Adding folder to the Nk.bin by Ajith

Ajith
Mon Dec 17 04:36:01 PST 2007


Hi All,

I am able to create folder and am able to copy specific files from my
windows directory to the specific folders using .DAT files.
But by using .DAT files, it is only possibe to COPY files. But i dont want
to waste memory by keeping a the same files in the "windows" directory as
well in the created directories.

Is there any way of doing it better? Will .lnk files help in this case?
Any inputs regarding this is most welcome
regards
Ajith

"Luca Calligaris" wrote:

> you have to use the .dat files to create the folder, for example:
>
> project.bib
>
> yourfile.dll $(_FLATRELEASEDIR)\yourfile.dll NK
>
> project.dat
>
> ;create a subdir in windows
> Directory("\Windows"):-Directory("yourdir")
> ;put your file in the folder
> Directory("\Windows\yourdir"):-File("yourfile.dll","\Windows\yourfile.dll")
>
> search for "File System File" in your the help
>
>
>
> "Ajith" wrote:
>
> > Hi All,
> > I need to include an application as part of the CE image. The Application
> > needs a directory structure.ie a "RES" folder for resource files and
> > something like that.
> > I checked the .bib files . But i couldnt find a method to add files to a
> > specific directory in the windows directory.
> >
> > Is there any way of doing this? In otherwords is it possible to add a folder
> > itself to the Nk.bin?
> > Or do i need my application guys to put all files in a flat directory?
> > Anyhelp in this regards is most welcome.
> > thanks in advance.
> > Ajith

Re: Help!! Adding folder to the Nk.bin by ctacke/>

ctacke/>
Mon Dec 17 06:18:39 PST 2007

That's how CE works. *Everything* starts out in the Windows folder and must
be copied (or links copied).


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Ajith" <Ajith@discussions.microsoft.com> wrote in message
news:C380B642-F22E-4502-9846-CF7CEBB6C72E@microsoft.com...
>
> Hi All,
>
> I am able to create folder and am able to copy specific files from my
> windows directory to the specific folders using .DAT files.
> But by using .DAT files, it is only possibe to COPY files. But i dont want
> to waste memory by keeping a the same files in the "windows" directory as
> well in the created directories.
>
> Is there any way of doing it better? Will .lnk files help in this case?
> Any inputs regarding this is most welcome
> regards
> Ajith
>
> "Luca Calligaris" wrote:
>
>> you have to use the .dat files to create the folder, for example:
>>
>> project.bib
>>
>> yourfile.dll $(_FLATRELEASEDIR)\yourfile.dll NK
>>
>> project.dat
>>
>> ;create a subdir in windows
>> Directory("\Windows"):-Directory("yourdir")
>> ;put your file in the folder
>> Directory("\Windows\yourdir"):-File("yourfile.dll","\Windows\yourfile.dll")
>>
>> search for "File System File" in your the help
>>
>>
>>
>> "Ajith" wrote:
>>
>> > Hi All,
>> > I need to include an application as part of the CE image. The
>> > Application
>> > needs a directory structure.ie a "RES" folder for resource files and
>> > something like that.
>> > I checked the .bib files . But i couldnt find a method to add files to
>> > a
>> > specific directory in the windows directory.
>> >
>> > Is there any way of doing this? In otherwords is it possible to add a
>> > folder
>> > itself to the Nk.bin?
>> > Or do i need my application guys to put all files in a flat directory?
>> > Anyhelp in this regards is most welcome.
>> > thanks in advance.
>> > Ajith