• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
codeye

How to copy a file from PE to the local OS

4 posts in this topic

Hi

I have created a PE 3.0 environment and edited startnet.cmd so that it copys a file from my boot environment to the C:\ drive of the local machine. However when i leave my PE environment and boot into windows normally I cannot see the file that has been copied over even tho if I do a directory listing from within PE it shows as present.

Can anyone tell me where I am going wrong

Thanks

James

0

Share this post


Link to post
Share on other sites

While you are booted in the PE, can yousee that file on the C:\ drive if you execute a DIR command?

(Open a command prompt, type in it dir C:\ and press [ENTER])

Boot to the "full system" and try again the above command.

Do you see dfferences in the listed files?

Which EXACT command(s) are included in your startnet.cmd?

And in Winpeshl.ini?

(post a copy of them)

AND check this thread:

jaclaz

0

Share this post


Link to post
Share on other sites

Not knowing your how your OS is setup, it is possible that in the PE, the C: drive is the System Reserved partition. That partition is typically "hidden" when booted into the OS proper.

0

Share this post


Link to post
Share on other sites

codeye, the drive may not be your C: drive when you are booted to WinPE. I suggest you open diskpart and do a 'list vol' command. It should show you all the mounted volumes and their letter. 'list disk' will show all the disks and if you do a 'sel disk #' (# is a disk number from previous command), you can use other commands. Please be careful or you can clean or format a disk/partition. As usual do not enter the quotes (') with the commands. Typing help will list all the commands and exit will close diskpart. Enjoy, John.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.