Jump to content

So I have this program called CommandCam.exe and its shortcut is copied to startup folder so what it does is it takes a picture every time the computer turns on and saves it in a folder. My problem is that it always saves the picture as image.bmp so it overwrites itself. Can someone make me a batch that runs scheduled and and renames the new image.bmp file to imageX.bmp with X being an increasing number? Thanks in advance

 

 

Link to comment
https://linustechtips.com/topic/1267004-batch-auto-rename-program/
Share on other sites

Link to post
Share on other sites

Assuming that this is the app you're using, that's already a command line argument

 

// Parse command line arguments. Available options:
//
//		/delay DELAY_IN_MILLISECONDS
//		/filename OUTPUT_FILENAME
//		/devnum DEVICE_NUMBER
//		/devname DEVICE_NAME
//		/preview
//		/devlist
//

So you should be able to do this with

c:\>CommandCam.exe /filename %date%

Or whatever naming system you want to use.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×