Sign in to follow this  
Followers 0
srihariram

save file on RAM disk WinPe

7 posts in this topic

Hi,

Is there any method to save a file on RAM Disk winpe?

If i try to edit a file and save on RAM disk winpe it is throwing error.

Is there any setting that needs to be enable to save file?

Thanks & Regards..

0

Share this post


Link to post
Share on other sites

I have had no problems writing files to the ramdisk. What is the error you are getting?

You can try opening notepad (it comes in the PE) and save a file to the X: to see if you get an error that way too.

0

Share this post


Link to post
Share on other sites

Hi,

Thanks for the reply..

I get the following error when i try to open a notepad and try saving it on x: drive (when booted with RAMdisk WinPE 1.0)

"You do not have permission to save in this directory. See the administrator to obtain permission.

Would you like to save in the MyDocuments folder instead? - Yes or No..

If Yes selected - The folder couldnot be found."

Thanks & Regards..

0

Share this post


Link to post
Share on other sites

I don't have any experience with PE 1.x, but on 2.x when launching "notepad" by itself, it defaults the Save folder to the Desktop (because it thinks it's regular Vista), and if you try to save a file there it says the path does not exist. However, if the save folder is changed to any folder on X: that does exist, I have no issues saving a file there.

0

Share this post


Link to post
Share on other sites

Unless you are trying to do some legacy hacking, you should seriously consider updating to the newest PE.

0

Share this post


Link to post
Share on other sites

This is from http://technet.microsoft.com/en-us/library/cc507857.aspx:

Many applications couldn’t run within Windows PE 1.0 because they required temporary storage space, and Windows PE was often launched from nonwriteable media such as a CD. Windows PE 2.0 now supports most applications that need to write temporary files by providing 32 MB of scratch space in the computer’s RAM. Any time an application attempts to write temporary files, no matter which folder, Windows PE redirects the changes to the scratch space in memory to simulate the presence of a hard disk. Naturally, all changes are lost when you restart the computer.

And this is from me:

WinPE 2005 does not allow write access to its system drive X:, even when booted as a RAM disk image. In order to write files in WinPE 2005, you will need to integrate another RAM disk driver that provides writeable space, or write to some other available media (a partition on the hard disk, a USB attached device, a network drive, etc.).

WinPE 2.0 appears to allow write access to its system drive X:, but this is not unlimited. Although it seems that you can add, delete and modify files at will, WinPE does this by way of a "write filter", and stores all added and modified data in a scratch space. This works completely transparent as long as you do not exceed the scratch space limit. So, deleting existing files on drive X: does not free space, but in fact consumes space.

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.