home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem %1 is the Drive of the JPG
- rem %2 is the Path of the JPG
- rem %3 is the Filename (no extension)
- rem %4 is the Extension (including ".")
-
- rem Change to Drive of JPG
- %1
-
- rem Change to directory of JPG
- cd %2.
-
- rem Convert JPG to GIF file (JPG2GIF.EXE must be in PATH)
- jpg2gif %3%4
-
- rem For VPic, if you wish to choose Screen Mode inside
- vpic %3.* /a
-
- rem For VPic, if you just want to display it automatically
- rem vpic %3.GIF /a
-
- del %3.GIF
-