August 15, 200917 yr higuys i have created a diskpart cmd menu which have options and its create partition automaticallydownload the attachment below, i need help startnet.cmd cannot execute my diskpart.cmd its shows not an internal or external commandDisk.rar
August 16, 200917 yr I would rename diskpart.bat to .cmd and do not call the batch file the same as the executable.
August 16, 200917 yr higuys i have created a diskpart cmd menu which have options and its create partition automaticallydownload the attachment below, i need help startnet.cmd cannot execute my diskpart.cmd its shows not an internal or external commandPost your startnet.cmd code to start. And also what Win PE version you are using (or what WAIK/OPK Tools it was created from) and also what architecture it is.Also, your batch files all use relative paths, but you should hardcode those. You can also have only 1 batch file to do all this and no txt files at all. But you can learn about variables and such later. You can totally get rid of the drive specific CMD files with this example:ECHO. *******************************:startecho.echo 1. 10 Gb Partitionecho.echo.set /p x=Pick:IF '%x%' == '%x%' GOTO Item_%x%:Item_1start /MIN /Dx:\Windows\System32\diskpart.exe /s x:\windows\system32\disk10.txtGOTO StartYou see above I specify that disk10.txt is in System32. Your batch file should be there also. Use abolute paths in your batch file and startnet.cmd to see if it can then launch it.
August 20, 200916 yr Author startnet.cmd has no codes or scripthere is the sample, when u open startnet in notepad its shows winpeintall the files i putted in system32here is the code i putted on startnetwinpeintdispartmenu.cmdgimagexbut startnet executes winpeint and gimagex but shows error on diskpartmenu.cmd
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now