Technology

Tag Archives

Archive of posts published in the category: batch
Apr
17

Watermark Software – Watermarking Photos in Batch

Customizable Watermarks

Text Watermark
Simply keystrokes to create text watermarks that support rich fonts, symbols, shadow and effects. Then Watermark Software will put into photo as watermarks automatically.

Image Watermark
Embed a special symbolized image to protect your photos’ copyright, which is definitely a necessary measure for your creative works. Watermark Software allows you add any image file as a watermark, like the company logo, personal avatar and etc.

Combined Watermark
Far more than only adding watermark, you can add several text/image watermarks to combine and arrange as you will, making your photo meet your wants.
What’s more, multiple-layer mode is available for your customized watermarks.

Watermark with words and image

EXIF – The Invisible Watermark

As we all know, most digital photos contain the detailed data, such as title, description, shooting time, camera model, DPI, software version, file source, etc. This is EXIF – the invisible digital copyright.

Watermark Software allows you add/change the

Read More
Apr
7

post your awesome batch files! – Programming

@echo off
color 2e
title CMD Snake Game    -Aaron
if “%~1” == “startGame” goto :game
if “%~1” == “startController” goto :controller

set “choice=”
2>nul >nul choice /c:yn /t 0 /d y
if errorlevel 1 if not errorlevel 2 set “choice=choice /cs”
if not defined choice (
  2>nul >nul choice /c:yn /t:y,1
  if errorlevel 1 if not errorlevel 2 set “choice=choice /s”
)
if not defined choice (
  echo ERROR: This game requires the CHOICE command, but it is missing.
  echo Game aborted. :(
  echo(
  echo A 16 bit port of CHOICE.EXE from FREEDOS is available at
  echo http://winsupport.org/utilities/freedos-choice.html
  echo(
  echo A 32 bit version from ??? suitable for 64 bit machines is available at
  echo http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html
  echo(
  exit /b
)


set “keys=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789”
set “keyFile=key.txt”
set “cmdFile=cmd.txt”
set “highscoreFile=last score on !difficulty!.txt”


copy nul “%keyFile%” >nul
start “” /b “%~f0” startController 9^>^>%keyFile% 2^>nul ^>nul
cmd /c “%~f0” startGame 9^<%keyFile% ^<nul
echo(

:close

Read More