ok so i have set commands which i normally use with cmd.exe but i need to create gui so its easier based off clicking a button and it would process the entire command for me but still have selection with VB if anyone could show me the the conversion of the current bat file as i have many to port i ony need one to see an example please
@echo off
set /p pkgpacked=Input name of PKG that you want to exctract (without extension):
cd tools
PkgView.exe -ex ../"%pkgpacked%.pkg"
cd..
del /q %pkgpacked%\*.*
cls
xcopy /s %pkgpacked%\*.* .
cls
dir /b "%pkgpacked%\*." >psp.txt
set /p pkgdir=<"psp.txt"
cls
SET /P ANSWER=Do you want to move EBOOT.PBP from extracted pkg to PSP2PS3 dir (Y/N)
if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)
if /i {%ANSWER%}=={n} (goto :no)
if /i {%ANSWER%}=={no} (goto :no)
:yes
copy "%pkgpacked%\%pkgdir%\USRDIR\CONTENT\EBOOT.PBP" .
rd /s /q "%pkgpacked%"
cd tools
popup.vbs "Done! Package %pkgpacked%.pkg exctracted to %pkgdir% and EBOOT.PBP moved to PSP2PS3 dir"
cd..
del /q psp.txt
exit
:no
rd /s /q "%pkgpacked%"
cd tools
popup.vbs "Done! Package exctracted to %pkgdir"
cd..
del /q psp.txt