Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Creating A Bat That Reads Computer Spec


  • Please log in to reply
5 replies to this topic

#1 DemonPT

DemonPT

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:07:17 PM

Posted 28 July 2008 - 01:06 PM

Well, the topic name says almost everything. Beeing more specific, i want to creat a batch file that "reads" the computer specs and save on a .txt file. Yes is kinda weird, but it helps me a lot, cause I have to use dxdiag, read the specs, write them down in a notepad in a certain order, but having a bat that does that saves me a LOT of time...

Thanks in advance

BC AdBot (Login to Remove)

 


m

#2 M...

M...

  • Members
  • 386 posts
  • OFFLINE
  •  
  • Local time:04:17 PM

Posted 28 July 2008 - 07:34 PM

Hello DemonPT,

The dxdiag Help File describes how to do it:

http://img244.imageshack.us/img244/2059/scrn001agw3.png

#3 DemonPT

DemonPT
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:07:17 PM

Posted 29 July 2008 - 03:36 AM

So easy to do .... It just didn't come to my mind check the help.

Thanks for the information

#4 DemonPT

DemonPT
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:07:17 PM

Posted 30 July 2008 - 03:30 AM

I tried to put it in a batch file, but nothing happened =S. How do I do it in a VB.net platform. Wich includes I need?
Its easier read files from VB then from a batch. Any help?

#5 M...

M...

  • Members
  • 386 posts
  • OFFLINE
  •  
  • Local time:04:17 PM

Posted 30 July 2008 - 08:54 AM

The .BAT file technique worked for me. In Notepad, I created a simple file called c:\tmp1.bat containing a single line:

dxdiag /t c:\tmp1.txt

After double-clicking c:\tmp1.bat and waiting for the command prompt window to close after finishing the command, the file c:\tmp1.txt contained the results of the dxdiag command.

#6 DemonPT

DemonPT
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:07:17 PM

Posted 31 July 2008 - 07:04 AM

working here to. Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users