Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

How to place files in C:\Documents and Settings\Administrato

 
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp embedded
View previous topic :: View next topic  
Author Message
Markus Pietrek
Guest





PostPosted: Thu Dec 20, 2007 4:54 pm    Post subject: How to place files in C:\Documents and Settings\Administrato Reply with quote

Hi,

my design contains a RunOnce resource that creates some files in
C:\Documents and Settings\Administrator

But after WinXPe has booted there is now a C:\Documents and
Settings\Administrator.OEM....
This now contains all the usual stuff but the normal "Administrator" is
empty except of my files.

Is there a way to enforce FBA to use existing directories? Or do I need to
do the RunOnce inside FBA?

Thanks in advance,
Markus
Back to top
Google
Sponsor





PostPosted: Thu Dec 20, 2007 4:54 pm    Post subject: Advertisement

Back to top
KM
Guest





PostPosted: Fri Dec 21, 2007 8:05 pm    Post subject: Re: How to place files in C:\Documents and Settings\Administ Reply with quote

Markus,

The OEM is the domain (your machine) name.
Instead of hardcoded path you could use system variables. For instance, %USERPROFILE% or etc. FBA resources can also use system
predefined environment (Setup) variables: http://msdn2.microsoft.com/en-us/library/ms933062.aspx.

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


Quote:
Hi,

my design contains a RunOnce resource that creates some files in C:\Documents and Settings\Administrator

But after WinXPe has booted there is now a C:\Documents and Settings\Administrator.OEM....
This now contains all the usual stuff but the normal "Administrator" is empty except of my files.

Is there a way to enforce FBA to use existing directories? Or do I need to do the RunOnce inside FBA?

Thanks in advance,
Markus
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp embedded All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum