Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if "%1" == "/?" echo This_file_write_all_commands_in_files & goto :eof
- for /f "tokens=1" %%i in ('help ^| findstr /R /B [A-Z] ^| findstr /V 'For' ^| findstr /V "SC" ^| findstr /V 'DISKPART'') do (
- help %%i>%%i.txt 2>nul
- echo %%i 2>nul
- )
- echo SC
- echo Do you want to exit?
- help SC>SC.txt
- goto :eof
Advertisement
Add Comment
Please, Sign In to add comment