when we use it give me exact answers with examples?

please help me


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Let me google that for you http://bit.ly/M3CoG0 :)

Answered 08/01/2012 by: Ben M
Ninth Degree Black Belt

  • Nice!!
Please log in to comment

Answers

0

this link is a good example of a batch and vb script to do the same thing

http://www.itninja.com/question/checking-model-of-pc

Answered 08/01/2012 by: SMal.tmcc
Red Belt

Please log in to comment
0

Depends what you want to do, each has its own capabilities and easiness to code.

Answered 08/02/2012 by: piyushnasa
Red Belt

Please log in to comment
0
Answered 08/05/2012 by: jagadeish
Red Belt

Please log in to comment
0

10 seconds on google:

http://mintywhite.com/software-reviews/customization-software/batfiles/

Answered 08/01/2012 by: pjgeutjens
Red Belt

Please log in to comment
0

Batch scripts, VBscripts, powershell are just different languages that can be used.  You will find you need knowledge of all 3, sometimes one language will attain the same results in one line where a different one will require 20 lines of code.

Think of English and the variations between American and British English.

Answered 08/01/2012 by: SMal.tmcc
Red Belt

  • here is a 3 line batch file that is not calling DOS, it calls WMIC and a vbscript, the batch file removes a machine from one domain and joins to another domain and then reboots the machine.

    start /wait Wmic computersystem where name="%computername%" call unjoindomainorworkgroup
    start /wait cscript.exe -b c:\windows\w2d\join_domain.vbs tmccacad.tmcc.edu installer ********* 10.16.19.7
    start /wait shutdown -r -t 1
  • This was in reference to another answer, looks like the other guy deleted his post "that Batch files use DOS commands"
Please log in to comment
This content is currently hidden from public view.
Reason: Removed by user request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share