Help - Search - Members - Calendar
Full Version: New Partition Magic 8.0x Pe-Builder plugin for BartPE and XPE
The CD Forum > Bart's PE Builder > Plugins
NickOlsen
Hi all,

here is a new Partition Magic 8.0x Pe-Builder plugin for BartPE and XPE!

With this plugin the partitions will unmounted automatically before starting Partition Magic and unmodified partitons re-mounted after closing Partition Magic.

Download: Click to view attachment
This Pe-Builder plug-In for Partition Magic 8.0x will work with BartPE and BartPE with Sherpya's XPE plugin (Windows XPE) without additional plugins!
Pe-Builder's integrated plugins "RAMDisk" and "Nu2Menu" are required only, optional to Nu2Menu you can use XPE v1.0.7 also.
This Plug-In is tested with PE Builder v3.1.10a, XPE v1.07, Partition Magic 8.05 and Windows XP SP2 & SP3.

Installation:
1.) Create in folder "<pebuilder>\plugin\" a subdirectory named "PMagic" and
copy in that folder "<pebuilder>\plugin\PMagic\" the files:
PMagic.cmd
PMagic.htm
pmagic.inf
PMagic_nu2menu.xml
unmount.cmd
Process.exe
(optional but recommended)

Tested and recommend version of "Process.exe" is:
Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03
Copyright© 2002-2003 Craig.Peacock@beyondlogic.org


2.) Inside the subdirectory "PMagic" create a subdirectory "files" (if not exist) and
copy in the subdirectory "<pebuilder>\plugin\PMagic\files\" the following files from Partition Magic 8:
About.pqg
DrvMap.exe
INETWH32.dll
License.txt
PartIn.exe
PartInNT.exe
pe09.dll
PeAbout.pqg
Pesp.pqg
PM.HLP
PMagic.exe
PMAGICB.PIF
PMagicBt.exe
PMagicNT.exe
PMREGIST.URL
qboot32.exe
pqbw.exe
pqbw.rtc
pqbw09.dll
PQBWAbout.pqg
PQLAUNCH.EXE
PQPB.RTC
PqPe.exe
pqpe.rtc
pqpeNT.exe
PQVXD.vxd
PTEDIT32.EXE
Readme.TXT
ROBOEX32.DLL
Splash.pqg
UNICODE.FNT

(for basic functions not all listed files are required, see pmagic.inf)

3.) Start Pe-Builder and activate in "Plugins" setup the "RAMDisk" (default: on) and "Partition Magic 8.0" plug-in and create your boot CD with Pe-Builder.

Information about the integrated drive unmount, re-mount and reassign functionality:
The integrated drive unmount, re-mount and reassign functionality (unmount.cmd) of this plugin can be useful for other partitioning and backup tools too. Therefore these functions are also available as separate start menu entries in BartPE/XPE.

The "unmount" function will remove selected drive letters (but not SystemDrive and RAM drive).
The (fast) "re-mount" function will re-mount partitions and drives which unmounted before only (without modified partitions).
The (slow) "reorganize and reassign" function will try to reorganize and assign all available volumes, also new and modified partitions. The drive letters can be changed by this function!

In some cases it can be required to close and restart all instances of "Explorer.exe" to show new mounted drives in the Windows Explorer (-> XPE only). Therefore in the XPE start menu a menu entry to kill and restart the Explorer.exe is integrated also. (This function will reinitialize the XPE Desktop also!)

PMagic.cmd:
CODE
@ECHO OFF
IF NOT EXIST .\PMagicNT.exe IF NOT EXIST \PROGRAMS\PMagic\PMagicNT.exe %SystemDrive%
IF EXIST \PROGRAMS\PMagic\PMagicNT.exe cd \PROGRAMS\PMagic\

REM If you don't want unmount the partitions automatically, remove "QUIET" in the next line:
CALL unmount.cmd ALL QUIET

ECHO ============================================================================
ECHO If you want to create a new partition do NOT ASSIGN a drive letter
ECHO while operating with Partition Magic to prevent Error #702^!
ECHO In window "Create...", select partition settings and "Drive Letter: None"^!
ECHO ============================================================================

IF EXIST "%TEMP%\remount.cmd" (
    ECHO.
    ECHO DO NOT close this Window manually^! Waiting to close Partition Magic ...
    PMagicNT.exe /PQB=%temp%\pmbatch.pqb /NRB %*
    cls
    ECHO.
    ECHO Re-Mount drives...
    ECHO.
    CALL unmount.cmd REMOUNT QUIET
) ELSE (
    start PMagicNT.exe /PQB=%temp%\pmbatch.pqb /NRB %*
)


PMagic.htm:
CODE
<html>

<body>

<i>PE Builder v3 plugin</i>
<hr>
<h1>PartitionMagic 8.0</h1>
<br>
PartitionMagic 8.0 also works on BartPE. PartitionMagic is not free, buy it from
Symantec.<br>
<br>
Before you can use the plugin you have to copy some files to the plugin directory.<br>
This plugin is tested with PartitionMagic Version 8.05<br>
<br>
Install PartitionMagic, then copy the following files from <tt>&quot;\Program
Files\Symantec\Norton PartitionMagic 8.0\&quot;</tt><br>
into the <tt>&quot;plugin\PMagic\files\&quot;</tt> directory:<br>
<br>
<tt>About.pqg<br>
DrvMap.exe<br>
INETWH32.dll<br>
License.txt<br>
PartIn.exe<br>
PartInNT.exe<br>
pe09.dll<br>
PeAbout.pqg<br>
Pesp.pqg<br>
PM.HLP<br>
PMagic.exe<br>
PMAGICB.PIF<br>
PMagicBt.exe<br>
PMagicNT.exe<br>
PMREGIST.URL<br>
Pqboot32.exe<br>
pqbw.exe<br>
pqbw.rtc<br>
pqbw09.dll<br>
PQBWAbout.pqg<br>
PQLAUNCH.EXE<br>
PQPB.RTC<br>
PqPe.exe<br>
pqpe.rtc<br>
pqpeNT.exe<br>
PQVXD.vxd<br>
PTEDIT32.EXE<br>
Readme.TXT<br>
ROBOEX32.DLL<br>
Splash.pqg<br>
UNICODE.FNT</tt><br>
<br>
If you want to create and modify a new partition do NOT ASSIGN a drive letter<br>
while operating with Partition Magic to prevent Error #702!<br>
In window &quot;Create...&quot;, select partition settings and &quot;Drive Letter: None&quot;!<br>
<br>
<hr>
<i>PE Builder Copyright © 2002-2004 Bart Lagerweij. All rights reserved.</i><br>

</body>

</html>


pmagic.inf:
CODE
; pmagic.inf
; PE Builder v3 plug-in INF file

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Partition Magic 8.0"
Enable=1
Help="PMagic.htm"

[Software.AddReg]
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "VersionNumber", "80"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "Name", "YOUR NAME"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "Company", "YOUR COMPANY"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "SerialNumber", "YOUR SERIAL NUMBER"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "License", "LICENSE.TXT"

[WinntDirectories]
a="Programs\PMagic",2

[SourceDisksFiles]
PMagic.cmd=a,,1
unmount.cmd=a,,1
Process.exe=a,,4
files\PMagicNT.exe=a,,1
files\PQPB.RTC=a,,1
files\About.pqg=a,,1
files\License.txt=a,,1
files\Splash.pqg=a,,1
files\Pqboot32.exe=a,,1
files\*.*=a,,1

[Append]
nu2menu.xml, PMagic_nu2menu.xml

[Software.Addreg]
; Shortcut(s) for Partition Magic
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Partition Magic 8.0", "%SystemDrive%\Programs\PMagic\PMagic.cmd||%SystemDrive%\Programs\PMagic\PMagicNT.exe"

; Shortcut(s) for Drive Mapper
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Drive Mapper", "%SystemDrive%\Programs\PMagic\DrvMap.exe||%SystemDrive%\Programs\PMagic\DrvMap.exe"

; Shortcut(s) for Partition Info
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Partition Info", "%SystemDrive%\Programs\PMagic\PartIn.exe||%SystemDrive%\Programs\PMagic\PartIn.exe"

; Shortcut(s) for PQBoot
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\PQBoot", "%SystemDrive%\Programs\PMagic\Pqboot32.exe||%SystemDrive%\Programs\PMagic\Pqboot32.exe"

; Shortcut(s) for PQBoot for Windows
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\PQBoot for Windows", "%SystemDrive%\Programs\PMagic\pqbw.exe||%SystemDrive%\Programs\PMagic\pqbw.exe"

; Shortcut(s) for unmount.cmd
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Unmount selected partition(s)", "%SystemDrive%\Programs\PMagic\unmount.cmd||%SystemDrive%\Programs\PMagic\PMagicNT.exe"

; Shortcut(s) for unmount.cmd ALL
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Unmount all partitions", "%SystemDrive%\Programs\PMagic\unmount.cmd|ALL|%SystemDrive%\Programs\PMagic\PMagicNT.exe"

; Shortcut(s) for unmount.cmd REMOUNT
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Re-Mount all unmounted partitions", "%SystemDrive%\Programs\PMagic\unmount.cmd|REMOUNT|%SystemDrive%\Programs\PMagic\PMagicNT.exe"

; Shortcut(s) for unmount.cmd REASSIGN
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Reorganize and assign all drive letters", "%SystemDrive%\Programs\PMagic\unmount.cmd|REASSIGN|%SystemDrive%\Programs\PMagic\PMagicNT.exe"

; Optional shortcut to close and restart Explorer.exe with Process.exe
0x2, "Sherpya\XPEinit\Programs", "Partition Magic 8\Close and restart the Explorer.exe", "%SystemDrive%\Programs\PMagic\Process.exe|-k Explorer.exe|%SystemRoot%\Explorer.exe"


PMagic_nu2menu.xml:
CODE
<!-- Nu2Menu entry for PMagic -->

<NU2MENU>
    <MENU ID="Programs">
        <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\PMagicNT.exe))" MENUID="PMagic">Partition Magic 8</MITEM>
    </MENU>

    <MENU ID="PMagic">
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\PMagic.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\PMagic.cmd">Partition Magic 8.0</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\DrvMap.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\DrvMap.exe">Drive Mapper</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\PartInNT.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\PartInNT.exe">Partition Info</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\Pqboot32.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\Pqboot32.exe">Boot Magic</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\pqbw.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\pqbw.exe">PQBoot for Windows</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\unmount.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\unmount.cmd">Unmount selected partition(s)</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\unmount.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\unmount.cmd ALL">Unmount all partitions</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\unmount.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\unmount.cmd REMOUNT">Re-Mount all unmounted partitions</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic\unmount.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic\unmount.cmd REASSIGN">Reorganize and assign all drive letters</MITEM>
    </MENU>
</NU2MENU>


unmount.cmd:
CODE
@ECHO OFF
REM Usage of unmount.cmd:
REM unmount.cmd {Drive Letter} [QUIET]
REM unmount.cmd [ALL] [QUIET]
REM unmount.cmd [REMOUNT] [QUIET]
REM unmount.cmd [REASSIGN [REMOVE]] [QUIET]
REM
SET ScriptDrive=%~dp0
SET ScriptDrive=%ScriptDrive:~0,2%
IF "%ramdrv%" == "" GOTO NO_RAMDRV
IF /i "%1" == "REMOUNT" GOTO REMOUNT
IF /i "%1" == "REASSIGN" GOTO REASSIGN
IF NOT "%1" == "" SET DRIVE=%1& GOTO UPPERCASE

:PROMPT
SET DRIVE=
SET ERRORLEVEL=
IF NOT "%1" == "" GOTO END
CLS
ECHO ============================================================================
ECHO If you want to modify a partition it's recommend to unmount that partition^!
mountvol.exe | find /i ":\"
ECHO ============================================================================
ECHO.
ECHO Please enter drive letter to remove or type 'ALL' for all drives,
REM ECHO (Further functions: Type 'remount' to Re-Mount and 'reassign' to reorganize)
SET /P DRIVE=(Type 'exit' to close):
IF "%DRIVE%" == "" GOTO ERROR

:UPPERCASE
set DRIVE=%DRIVE:a=A%
set DRIVE=%DRIVE:b=B%
set DRIVE=%DRIVE:c=C%
set DRIVE=%DRIVE:d=D%
set DRIVE=%DRIVE:e=E%
set DRIVE=%DRIVE:f=F%
set DRIVE=%DRIVE:g=G%
set DRIVE=%DRIVE:h=H%
set DRIVE=%DRIVE:i=I%
set DRIVE=%DRIVE:j=J%
set DRIVE=%DRIVE:k=K%
set DRIVE=%DRIVE:l=L%
set DRIVE=%DRIVE:m=M%
set DRIVE=%DRIVE:n=N%
set DRIVE=%DRIVE:o=O%
set DRIVE=%DRIVE:p=P%
set DRIVE=%DRIVE:q=Q%
set DRIVE=%DRIVE:r=R%
set DRIVE=%DRIVE:s=S%
set DRIVE=%DRIVE:t=T%
set DRIVE=%DRIVE:u=U%
set DRIVE=%DRIVE:v=V%
set DRIVE=%DRIVE:w=W%
set DRIVE=%DRIVE:x=X%
set DRIVE=%DRIVE:y=Y%
set DRIVE=%DRIVE:z=Z%

IF /i "%DRIVE%" == "ALL" GOTO REMOVE_ALL
IF /i "%DRIVE%" == "REMOUNT" GOTO REMOUNT
IF /i "%DRIVE%" == "REASSIGN" GOTO REASSIGN
IF /i "%DRIVE%" == "EXIT" GOTO END
GOTO REMOVE

:REMOVE
IF /i NOT "%SystemDrive%" == "%DRIVE%:" IF /i NOT "%ramdrv%" == "%DRIVE%:" IF /i NOT "%ScriptDrive%" == "%DRIVE%:" (
    CALL :SAVE_MOUNT_POINT
    ECHO.
    ECHO Unmount drive %DRIVE%:\
    mountvol.exe %DRIVE%: /D
)
IF /i "%2" == "QUIET" GOTO END
IF /i "%SystemDrive%" == "%DRIVE%:" GOTO ERROR_SYSDRIVE
IF /i "%ScriptDrive%" == "%DRIVE%:" GOTO ERROR_SYSDRIVE
IF /i "%ramdrv%" == "%DRIVE%:" GOTO ERROR_SYSDRIVE
IF "%ERRORLEVEL%" == "1" GOTO ERROR
IF "%ERRORLEVEL%" == "0" GOTO SUCCESS
GOTO PROMPT

:REMOVE_ALL
CLS
SET ANSWER_KEY=
IF NOT "%1" == "" IF /i NOT "%2" == "QUIET" (
    ECHO.
    ECHO If you want to modify a partition it's recommend to unmount that partition^!
    ECHO.
    ECHO Do you want to unmount all partitions?
    ECHO.
    SET /P ANSWER_KEY=Press [Return] to continue, press 'N' for "No":
    CLS
)
IF /i "%ANSWER_KEY%" == "n"  GOTO END
IF /i "%ANSWER_KEY%" == "no" GOTO END
ECHO.
SET DRIVE=A& CALL :UNMOUNT
SET DRIVE=B& CALL :UNMOUNT
SET DRIVE=C& CALL :UNMOUNT
SET DRIVE=D& CALL :UNMOUNT
SET DRIVE=E& CALL :UNMOUNT
SET DRIVE=F& CALL :UNMOUNT
SET DRIVE=G& CALL :UNMOUNT
SET DRIVE=H& CALL :UNMOUNT
SET DRIVE=I& CALL :UNMOUNT
SET DRIVE=J& CALL :UNMOUNT
SET DRIVE=K& CALL :UNMOUNT
SET DRIVE=L& CALL :UNMOUNT
SET DRIVE=M& CALL :UNMOUNT
SET DRIVE=N& CALL :UNMOUNT
SET DRIVE=O& CALL :UNMOUNT
SET DRIVE=P& CALL :UNMOUNT
SET DRIVE=Q& CALL :UNMOUNT
SET DRIVE=R& CALL :UNMOUNT
SET DRIVE=S& CALL :UNMOUNT
SET DRIVE=T& CALL :UNMOUNT
SET DRIVE=U& CALL :UNMOUNT
SET DRIVE=V& CALL :UNMOUNT
SET DRIVE=W& CALL :UNMOUNT
SET DRIVE=X& CALL :UNMOUNT
SET DRIVE=Y& CALL :UNMOUNT
SET DRIVE=Z& CALL :UNMOUNT
ECHO.
IF /i "%2" == "QUIET" GOTO END
ECHO Finished^!
ECHO.
PAUSE
GOTO END

:UNMOUNT
SET ERRORLEVEL=
IF /i NOT "%SystemDrive%" == "%DRIVE%:" IF /i NOT "%ramdrv%" == "%DRIVE%:" IF /i NOT "%ScriptDrive%" == "%DRIVE%:" (
    CALL :SAVE_MOUNT_POINT
    mountvol.exe %DRIVE%: /D >NUL
)
IF "%ERRORLEVEL%" == "0" ECHO  Unmount drive %DRIVE%:\ ...OK
GOTO :EOF

:SAVE_MOUNT_POINT
IF NOT EXIST "%TEMP%" GOTO :EOF
mountvol.exe %DRIVE%:\ /L | find "\\" > "%TEMP%\volume.txt"
set VolumeName=
set /p VolumeName=<"%TEMP%\volume.txt"
if not "%VolumeName%" == "" echo mountvol.exe %DRIVE%:\ %VolumeName% >> "%TEMP%\remount.cmd"
del /F /Q "%TEMP%\volume.txt" 2>NUL
GOTO :EOF

:SUCCESS
ECHO.
ECHO Drive %DRIVE%:\ successfully unmounted.
ECHO.
PAUSE
GOTO PROMPT

:ERROR
ECHO.
ECHO Drive letter doesn't exist or missing input, please try again^!
ECHO.
PAUSE
GOTO PROMPT

:ERROR_SYSDRIVE
ECHO.
ECHO Can't remove SystemDrive, RAM Drive or Script working directory^!
ECHO.
PAUSE
GOTO PROMPT

:NO_RAMDRV
IF /i "%2" == "QUIET" GOTO END
ECHO.
ECHO ERROR: RAM Drive missing^!
ECHO.
ECHO Use this script only if you are starting BartPE/XPE from boot CD with RAMDisk^!
ECHO.
PAUSE
GOTO END

:REMOUNT
IF NOT EXIST "%TEMP%\remount.cmd" GOTO END
call "%TEMP%\remount.cmd"
del /F /Q "%TEMP%\remount.cmd" 2>NUL
IF /i "%2" == "QUIET" GOTO END
ECHO.
ECHO Finished^!
ECHO.
ECHO If you are using the Explorer, please close and restart the Explorer.exe^!
ECHO.
PAUSE
IF "%1" == "" GOTO PROMPT
GOTO END

:REASSIGN
IF NOT EXIST "%TEMP%" GOTO END
CLS
IF EXIST "%TEMP%\dpartREM.scp" DEL /F /Q "%TEMP%\dpartREM.scp"
IF EXIST "%TEMP%\dpartADD.scp" DEL /F /Q "%TEMP%\dpartADD.scp"
ECHO LIST VOLUME > "%TEMP%\dpartvol.scp"
diskpart.exe /s "%TEMP%\dpartvol.scp" > "%TEMP%\dpartvol.txt"
ECHO Please close all applications before starting this script^!
IF EXIST %~dp0process.exe %~dp0process.exe -k diskpart.exe >NUL
IF EXIST %~dp0process.exe %~dp0process.exe -k dmadmin.exe >NUL
IF EXIST %~dp0process.exe %~dp0process.exe -k dmremote.exe >NUL
IF EXIST %~dp0process.exe %~dp0process.exe -k mmc.exe >NUL
ECHO ============================================================================
REM Save partition volumes to script...
for /L %%N IN (0, 1, 32) DO CALL :VOLUME_SCRIPT %%N /V
TYPE "%TEMP%\dpartvol.txt" | find /i " Volume "
REM Save other drive volumes (CD-ROM, DVD) to script...
for /L %%N IN (0, 1, 32) DO CALL :VOLUME_SCRIPT %%N
ECHO ============================================================================
ECHO Remove drive letters ...
diskpart.exe /s "%TEMP%\dpartREM.scp"
ECHO ============================================================================
IF /i "%2" == "REMOVE" GOTO END_REASSIGN
ECHO Reorganise and assign drive letters ...
IF EXIST %~dp0process.exe %~dp0process.exe -k diskpart.exe >NUL
diskpart.exe /s "%TEMP%\dpartADD.scp"
IF NOT "%ERRORLEVEL%" == "0" ECHO.& ECHO WARNING: Error detected, please close all applications and try again^!
ECHO ============================================================================
diskpart.exe /s "%TEMP%\dpartvol.scp" | find /i " Volume "
ECHO ============================================================================
GOTO END_REASSIGN

:VOLUME_SCRIPT
TYPE "%TEMP%\dpartvol.txt" | find /i " Volume %1 " | find %2 "B                 " >NUL
if "%ERRORLEVEL%" == "0" (
    echo SELECT VOLUME %1 >> "%TEMP%\dpartREM.scp"
    echo REMOVE noerr >> "%TEMP%\dpartREM.scp"
    echo SELECT VOLUME %1 >> "%TEMP%\dpartADD.scp"
    echo ASSIGN noerr >> "%TEMP%\dpartADD.scp"
)
GOTO :EOF

:END_REASSIGN
IF EXIST "%TEMP%\dpartvol.scp" DEL /F /Q "%TEMP%\dpartvol.scp"
IF EXIST "%TEMP%\dpartvol.txt" DEL /F /Q "%TEMP%\dpartvol.txt"
IF EXIST "%TEMP%\dpartREM.scp" DEL /F /Q "%TEMP%\dpartREM.scp"
IF EXIST "%TEMP%\dpartADD.scp" DEL /F /Q "%TEMP%\dpartADD.scp"
ECHO.
IF /i NOT "%2" == "QUIET" IF /i NOT "%3" == "QUIET" PAUSE
GOTO END

:END
SET ANSWER_KEY=
SET DRIVE=
EXIT /B


Customize start script "PMagic.cmd" (optional):
If you want to select manual the drive letters to remove before starting Partition Magic edit in the file "PMagic.cmd" the line:
CALL unmount.cmd ALL QUIET
to:
CALL unmount.cmd
Or to confirm only the removing of all drive letters change this line to:
CALL unmount.cmd ALL


For experts only:
If you want to use (on your own risk) the "unmount.cmd" within a installed Windows XP deactivate the line:
IF "%ramdrv%" == "" GOTO NO_RAMDRV

(Additional information:
If you want to work with "Partition Magic 8.0" from a local copy of BartPE's CD or "Nu2Menu" started from CD directly inside an installed Windows XP to modify the SystemDrive, it's required to remove the switch "/NRB" (PMagic.cmd) and copy the additional program files "XMNT2002.exe" to the folder "%windir%\System32\" and the file "PQNTDRV.sys" to folder "%windir%\System32\drivers\" of the installed Windows XP!)



Regards
NickOlsen
Rajesh 2010
nice one
you can also try my plugin
you can find it over here

http://www.911cd.net/forums//index.php?showtopic=24121
NickOlsen
Hello Rajesh 2010,

I saw your plugin and tested it already but on my system it does not work!
Currently I use a Windows XP SP3!
Do you have tested your plugin with Windows SP2 and SP3? And also with and without XPE?

With your plugin and without XPE nothing will happen and with XPE the menu entry is missing!

Furthermore my plugin does not need additional plugins like "WSH" or "MMC"!


Regards
NickOlsen
Ed_P
QUOTE (NickOlsen @ Mar 20 2011, 10:28 AM) *
here is a new Partition Magic 8.0x Pe-Builder plugin for BartPE and XPE!

Wow!! Thanks NickOlsen.
Rajesh 2010
QUOTE (NickOlsen @ Mar 20 2011, 01:46 PM) *
Hello Rajesh 2010,

I saw your plugin and tested it already but on my system it does not work!
Currently I use a Windows XP SP3!
Do you have tested your plugin with Windows SP2 and SP3? And also with and without XPE?

With your plugin and without XPE nothing will happen and with XPE the menu entry is missing!

Furthermore my plugin does not need additional plugins like "WSH" or "MMC"!


Regards
NickOlsen

hi
thanks for finding the mistakes .
actually i have used a custom way to create my shortcuts
http://www.911cd.net/forums//index.php?showtopic=24152

i dont use xpe or nu2 style xml
so i was not able to check its working.
i have tested the plugin on winxp sp2
it works fine for me.
the additional dependency are added to make script work and ease the work on mounting and unmounting
you can just double click the script file to execute it.
i am quite busy for some time.
will update and let you guys know
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.