3 janv. 2014

Add java script to a batch program

In this tutorial I'm gonna show you how to add a simple code of Javascript to a batch program.

  • First open any of yours batch programs with w text editor for me I use Notepad++

  • You can download it here for free Notepad++ Download


openwithnotepad

  • Once you opend the batch program creat you Java script files:


batchprogjava

 

  • For exemple a wrote these messages (each code should save it as a vbs file)


tutojavabatch

  • Now we have 3 files VBS and one file BAT


4filecalled

  • Now e open the batch program twice and we call the 3 VBS files (in my batch program I used a choice option to simplify the tutorial)


 

call3vbsfiles

  • Now let's see what happend (Open your batch program and check the result)


openbatchprog

call1vbs

call2vbs

call3vbs

  • And like you see is worked this is a sample method to compile a Javascript code with a batch program. Hope you enjoyed.

In this tutorial I'm gonna show you how to add a simple code of Javascript to a batch program.

  • First open any of yours batch programs with w text editor for me I use Notepad++

  • You can download it here for free Notepad++ Download


openwithnotepad

  • Once you opend the batch program creat you Java script files:


batchprogjava

 

  • For exemple a wrote these messages (each code should save it as a vbs file)


tutojavabatch

  • Now we have 3 files VBS and one file BAT


4filecalled

  • Now e open the batch program twice and we call the 3 VBS files (in my batch program I used a choice option to simplify the tutorial)


 

call3vbsfiles

  • Now let's see what happend (Open your batch program and check the result)


openbatchprog

call1vbs

call2vbs

call3vbs

  • And like you see is worked this is a sample method to compile a Javascript code with a batch program. Hope you enjoyed.

Aucun commentaire:

Featured Posts

    blogger