AutoRun Files
Go to solution
Solved by Opcode,
Trying to make a tech fix it usb for myself. what i want it to do is, you'll click one file bat or cmd. it'll open up, once it opens it'll give you a list of option that you would want to pick. like press 1 to trouble shoot window update or press 2 run this program or press 3 for mem diagnostic. the only code i'm missing is on how to make it give you multiple options, i can only make mine boot one file.
You mean something like this?
@[member=Echo] offtitle PC Fix-It USB:menuclsecho --------------------------------------------------------------------------------echo PC Fix-It USBecho --------------------------------------------------------------------------------echo.echo Select A Toolecho =============echo.echo [1] Option 1echo [2] Option 2echo [3] Option 3echo [4] Option 4echo [5] Exitecho.set /p op=Run:if %op%==1 goto 1if %op%==2 goto 2if %op%==3 goto 3if %op%==4 goto 4if %op%==5 goto exitgoto error:1clsecho --------------------------------------------------------------------------------echo Option 1echo --------------------------------------------------------------------------------# Do Your Code Heregoto menu:2clsecho --------------------------------------------------------------------------------echo Option 2echo --------------------------------------------------------------------------------# Do Your Code Heregoto menu:3clsecho --------------------------------------------------------------------------------echo Option 3echo --------------------------------------------------------------------------------# Do Your Code Heregoto menu:4clsecho --------------------------------------------------------------------------------echo Option 4echo --------------------------------------------------------------------------------# Do Your Code Heregoto menu:exitclsecho PC Fix-It USBexit /b
Tho keep in mind I don't batch is enough to run all of that. You will need to use 3rd party software that supports command line input or write your own.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now