Skip to content

Instantly share code, notes, and snippets.

@frainfreeze
Created April 18, 2016 16:02
Show Gist options
  • Save frainfreeze/ff50b8fa3f9e67202aa7cf155ff4658f to your computer and use it in GitHub Desktop.
Save frainfreeze/ff50b8fa3f9e67202aa7cf155ff4658f to your computer and use it in GitHub Desktop.
:: 13.08.2011
:: Dxdiag Miner 1.1 by Morrolan, made for #Minecrafthelp at EsperNet.
:: Feel free to redistribute and/or modify the file at will, but it'd be nice if you were to give the author credit.
:: Turn off echoing commands to the console, set colour to light green.
@echo off
Color 0A
echo Dxdiag Miner v1.1
:: Check for dxdiag.exe, in case not found go to Dxdiag_Not_Found.
echo Checking for dxdiag.exe...
if not exist %systemroot%\system32\dxdiag.exe GOTO Dxdiag_Not_Found
echo Dxdiag.exe found.
:: Execute dxdiag.exe, pass the path to the file.
echo Creating dxdiag file, please stand by...
%systemroot%\system32\dxdiag.exe /t %USERPROFILE%\Desktop\dxdiag.txt
echo Dxdiag file created under the name of "dxdiag.txt" at %USERPROFILE%\Desktop . Please upload it to www.pastebin.com .
pause
:: Open the newly created file.
%USERPROFILE%\Desktop\dxdiag.txt
exit
:Dxdiag_Not_Found
echo Dxdiag.exe was not found. Please contact support for further help.
pause
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment