Good stuff.
But I have a suggestion to make it a little better:
I recommend a slightly different checking method which gives no problems if the memory stick is empty (such as formatting by PC instead of PSP, or using a new memory stick) since double formatting on both PSP and windows is kinda redundant. On the line where you check for the drive letter
replace the section of code:
Code:
dir %test%:
if errorlevel == 1 goto error
with:
Code:
mkdir %test%:\test
if errorlevel == 1 goto error
rmdir %test%:\test
This will solve the problems of those who format by Windows instead of PSP, since dir will error out with "No files Found" if the stick is empty, and will also have the added benefit of making sure the Memory stick is writable. (not locked, if using an adaptor)
Again thanks for the work on this, saves alot of time getting all the right tools to do it manually.