Mainpage | Getting Started | Advanced Info | HOW-TOs | FAQ

Introduction
Batch file is a simple list of commands that can be used to create automated tasks.

You can find the comprehensive list of Batch file commands in Here.

The commands used in a batch file are the same used in the Console. This means that the easiest way to create a batch file is to control jv16 PowerTools with the Console and write down all the command you need to write for the desired operation.

To create batch files you only need a text editor, such as Notepad. The file extension of a batch file is ".jvb". You can run these files by double clicking them if you haven't modified jv16 PowerTools' settings.


Examples

RegTool
CS StartUp
SaveList RegTool "C:\startup.txt"
Terminate

This batch saves the list of programs which start automatically to "C:\startup.txt".


RegTool
CS StartUp
FindMark RegTool "Napster"
Click RegTool Button "Remove"
Terminate

This batch finds Napster's registry entries and removes them.


Kill "Winamp.exe"
Kill "Napster.exe"
Terminate

This simple batch terminates Winamp and Napster.


FileTool
FindFiles "$D:\" Duplicates "" ""
Savelist FileTool "Dupes on D.txt"
Terminate

This batch finds all duplicate files from drive D and saves the results to a text file. Please notice that the $ symbol in the FindFiles command means that the program also checks the sub directories.


FileTool
FindFiles "$D:\MP3" Duplicates "" "*.mp3"
Click FileTool Menu "Based on last modified date"
Click FileTool Button "Remove"
Terminate

This batch finds all your duplicate MP3 files (from D:\MP3) and removes the duplicates and leaves only the latest files.



Topics
Introduction
Examples
 
 
.:: Copyright 2001 Jouni Vuorio and Adam Severns