George King Posted April 19, 2024 Posted April 19, 2024 ListDisk This tool provides detailed information about connected physical disks, including their partitions and volumes. Download https://github.com/GeorgeK1ng/ListDisk/releases Features Mounting/unmounting partitionsSetting partition labelsModifying MBR partition attributes Available Commands /mount - Mounts a partition to a specified drive letter./unmount - Unmounts a specified partition or drive letter./setlabel - Sets a new label for a specified partition./setactive - Sets or clears the bootable flag of a partition./settype - Changes the MBR type of a partition. Usage Examples /mount 0 1 U - Mounts Partition 1 on Disk 0 as U: drive./unmount 0 1 - Unmounts Partition 1 on Disk 0./unmount U - Unmounts U: drive./setLabel 0 1 Lbl - Sets 'Lbl' as the label for Partition 1 on Disk 0./setactive 0 1 - Marks Partition 1 on Disk 0 as bootable./setactive 0 1 80 - Sets the boot flag for Partition 1 on Disk 0./setactive 0 1 00 - Clears the boot flag for Partition 1 on Disk 0./settype 0 1 0x17 - Sets Partition 1 on Disk 0 to type NTFS Hidden (0x17)./settype 0 1 0x07 - Sets Partition 1 on Disk 0 to type NTFS (0x07). Requirements Operating System: Windows XP and newer. Note for Windows XP Users: This tool requires the installation of the Microsoft Visual C++ Redistributable. Please install it from this link.Compatible with Windows Preinstallation Environment (WinPE).Place ListDisk in %WinDir%\system32 to make it easy accessible from commandline! Note: Use this utility with caution. Incorrect usage may affect data integrity. 9
genieautravail Posted April 21, 2024 Posted April 21, 2024 (edited) @George King Thank you ! I will add this program to my (already) big collection of CMD tools. I'm scripting a lot and new CMD tools are always welcome. Some news about a possible modern release of Rufus for XP ? Regards Edited April 21, 2024 by genieautravail
genieautravail Posted April 22, 2024 Posted April 22, 2024 @George King Can you provide a none SSE2 release (with only the SSE instructions set) ? Regards
genieautravail Posted April 27, 2024 Posted April 27, 2024 (edited) @George King On the laptop where I have installed ListDisk I get an error message just before the list of disks: IOCTL_DISK_GET_DRIVE_LAYOUT_EX failed for 0012FE0C with error 21 Regards Edited April 27, 2024 by genieautravail
George King Posted April 28, 2024 Author Posted April 28, 2024 No idea, as you can see Disk 1 is missing in list. If exist on your machine, it will be probably something with that. Another important thing, I’m not programmer, just enthusiast. I needed tool like this so I managed it in a week with ChatGPT 4… Of course without programing knowledge it wont be possible. If you detect issue I can try to fix it, like I did with special characters replacement to display them correctly in CMD in systems older than 8.0. Source code is released, so you can always try to investigate. Feel free to fork, improve or fix and push request into main tree. Thats why we have source in public repository
genieautravail Posted April 28, 2024 Posted April 28, 2024 (edited) Incredible and impressive! Do you have try to code with ChatGPT a modern ACPI driver for XP ? @Dietmar would be probably very interested. Joke apart, I'm not a programmer too... Perhaps can you ask to ChatGPT what the error can means ? Nevertheless, congrats,for your work with ChatGPT! I think it would be a good idea to add to the first post of this thread that the main developer is ChatGPT and that the software is release as is it, without support. @Dave-H I ask myself if this is the first program coded by ChatGPT to be release on the forum ? Regards Edited April 28, 2024 by genieautravail
Dietmar Posted April 28, 2024 Posted April 28, 2024 @genieautravail ChatGPT is blind as much as possible in coding. Nearly nothing is correct, even most easy errors. BUT: You can use ChatGPT for to get new ideas. The hard way to make them come true, is ALWAYS on you Dietmar
Dave-H Posted April 28, 2024 Posted April 28, 2024 54 minutes ago, genieautravail said: @Dave-H I ask myself if this is the first program coded by ChatGPT to be release on the forum ? I don't know, and I'm not sure how we would know if the poster didn't reveal that was the case!
George King Posted April 28, 2024 Author Posted April 28, 2024 Exactly, ChatGPT is powerful for coding, but you need to know what you want. Be specific, have knowledge. I have succeed only when using ChatGPT 4, If you use free model 3.5 then its full of crap - no working code after many tries. These model are not comparable. Even I ask for solution, I have not faced mentioned issue - that mean I can reproduce and test. And this tool was not done in simple prompt. I really know what I want. Like give me working code for Visual Studio 2019 in C++ for command line application which will list all connected physical disks with partition details based on XXX structure which will use own structure to store data etc.. And each function was designed using that way.. For example I have fully rewritten POWIS from scratch to get Professional look and usability. Currently I have like 6000 lines of code in HTA, CSS, VBS and JS. Everything based on ChatGPT 4 code. But it takes time of course, but really duable
George King Posted April 29, 2024 Author Posted April 29, 2024 On 4/28/2024 at 4:01 PM, Dietmar said: @genieautravail ChatGPT is blind as much as possible in coding. Nearly nothing is correct, even most easy errors. BUT: You can use ChatGPT for to get new ideas. The hard way to make them come true, is ALWAYS on you Dietmar Hi @Dietmar, Have you tried ChatGPT 4? Or just stick with free model? This whole app was designed by me with exact “prompts”. These models are really not comparable. I can tell you this. If you think its blind, I don’t really believe. I have spend amount of time to work with free version, Yes, its crap. ChatGPT 4 works much better, 90% of code is compile-able and working code. Depends just on prompt.
George King Posted May 1, 2024 Author Posted May 1, 2024 @genieautravail Can you tell me more about your error 21? I need to know details about that disk which is not listed using ListDisk. Currently it means your disk is unsupported, but I don't know where should I dig, when I don't know nothing about it and can't reproduce it.
genieautravail Posted May 1, 2024 Posted May 1, 2024 (edited) @George King The issue is specific to two HP laptops. On a Dell Laptop, no error message, all is OK. This afternoon, I will test ListDisk on a desktop computer and post the result. I don't know what is specific to the HP laptops... Even with only the internal HDD, I get the message: Perhaps one idea, in the devices manager the SD card-reader is with IDE devices, not with USB devices: Regards Edited May 1, 2024 by genieautravail
George King Posted May 1, 2024 Author Posted May 1, 2024 @genieautravail Please add screenshots from Disk Management
genieautravail Posted May 1, 2024 Posted May 1, 2024 (edited) Yes, I can confirm that the disk 1 is the Ricoh SD/MMC Disk Device: ID of the Ricoh SD/MMC Host Controller : PCI\VEN_1180&DEV_0843&SUBSYS_1521103C&REV_14\4&3A88E1E&0&32F0 Regards Edited May 1, 2024 by genieautravail
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now