Issue with format
#1
Posted 05 June 2007 - 06:30 PM
There is a small issue:
When inside the running PE I use the CPL to create a new virtual disk, I can do so and the Disk is successfully created (not formatted yet, of course).
When checking the new created disk an clicking 'Format...' nothing happens. Just the 'Format...' button is disabled.
On the other hand, the console app of ImDisk with the -p option works ok and gives a formatted disk as result.
Something is missing in my PE, and I do not have any idea, what.
Has anybody else an idea?
Peter
#2
Posted 05 June 2007 - 06:44 PM
The Format button calls a shell function called SHFormatDrive. Unfortunately that function does not return any useful error codes if it fails so this is very hard to debug.As known, I now use ImDisk as RAM disk inside the nativeEx PE.
There is a small issue:
When inside the running PE I use the CPL to create a new virtual disk, I can do so and the Disk is successfully created (not formatted yet, of course).
When checking the new created disk an clicking 'Format...' nothing happens. Just the 'Format...' button is disabled.
The same function is called by Windows Explorer if you right-click on a drive icon in My Computer and select Format there so if it works there it should be possible to get it to work in the Control Panel applet too. Otherwise there could be some shell interface missing in your configuration or something like that.
#3
Posted 05 June 2007 - 06:49 PM
Can I or you do anything?The Format button calls a shell function called SHFormatDrive. Unfortunately that function does not return any useful error codes if it fails so this is very hard to debug.
The same function is called by Windows Explorer if you right-click on a drive icon in My Computer and select Format there so if it works there it should be possible to get it to work in the Control Panel applet too. Otherwise there could be some shell interface missing in your configuration or something like that.
If the format would not work at all, I could accept.
But it works in the cmd line version...
Peter
BTW: To have the CPL in the PE is just random, because I added in the script, If I wouldn't add, the issue would not appear.
The question is whether it is really necessary to create a VD when you do an 'Emegency Repair'
EDIT: Sorry, I did not read your reply carefully enough
I do some tests and then come back.
No reason for you to do anything right now!
Edited by psc, 05 June 2007 - 06:53 PM.
#4
Posted 05 June 2007 - 07:01 PM
I remove the CPL fom delivering to the PE.
The 'right click' format does not work, too.
And I think that in an emergency it is not necessary to have a VD.
Therefore: Good bye, umbrella (in the control panel!)!
Peter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users