The following CMD script scans your volumes which are in FAT32 and hidden.
After that, this script gets info about this or these partitions.
The type of partition you should get on screen is as mentioned in the script itself.
It's a copy-paste script, so in this current syntax it will not work as a batch.
After that, this script gets info about this or these partitions.
The type of partition you should get on screen is as mentioned in the script itself.
It's a copy-paste script, so in this current syntax it will not work as a batch.
קוד:
:: :: :: :: Recovery CMD Prompt :: :: :: ::
:: :: :: :: Apply in DiskPart :: :: :: ::
MkDir "X:\DPTemp" 2>nul
(
Echo List Vol
Echo Exit
) > "X:\DPTemp\DPCommands.txt"
DiskPart.exe /s "X:\DPTemp\DPCommands.txt" > "X:\DPTemp\DPOutput.txt"
For /F "Tokens=2" %V in ('find /i "FAT32" "X:\DPTemp\DPOutput.txt" ^| find /i "System"') Do Set "Vol=%V"
If "%Vol%"=="" (
Echo No FAT32 System volume found!
RmDir /s /q "X:\DPTemp"
Exit /b 1
)
Echo Volume number is %Vol%
:: :: :: :: Apply in DiskPart :: :: :: ::
(
Echo Sel Vol "%Vol%"
Echo Detail Partition
Echo Exit
) > "X:\DPTemp\DPCommands.txt"
DiskPart.exe /s "X:\DPTemp\DPCommands.txt"
Echo "Your Partition type should be Type : c12a7328-f81f-11d2-ba4b-00a0c93ec93b "
:: ::
RmDir /s /q "X:\DPTemp"
:: :: :: ::
נערך לאחרונה ב: