Wacky_rubia

helpgen

Dec 14th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. @echo off
  2. if "%1" == "/?" echo This_file_write_all_commands_in_files & goto :eof
  3. for /f "tokens=1" %%i in ('help ^| findstr /R /B [A-Z] ^| findstr /V 'For' ^| findstr /V "SC" ^| findstr /V 'DISKPART'') do (
  4. help %%i>%%i.txt 2>nul
  5. echo %%i 2>nul
  6. )
  7. echo SC
  8. echo Do you want to exit?
  9. help SC>SC.txt
  10. goto :eof
Advertisement
Add Comment
Please, Sign In to add comment