Automatic saving with unique filenames

  • Thread starter Thread starter Malicho
  • Start date Start date
M

Malicho

Hi, I'm trying to set up a macro that will record my screen everyday
at a specific time. I want the recorded file saved but I can't figure
out how to get a macro to give each file a unique filename. Is there a
way to make a macro save files with unique names (perhaps using some
wildcard in the filename that could specify date or something)?
Thanks.
 
Malicho said:
Hi, I'm trying to set up a macro that will record my screen everyday
at a specific time. I want the recorded file saved but I can't figure
out how to get a macro to give each file a unique filename. Is there a
way to make a macro save files with unique names (perhaps using some
wildcard in the filename that could specify date or something)?
Thanks.

When you say "macro", do you mean a macro under Word,
or Excel, or a batch file under a Command Prompt? If it's
Word or Excel then posting in a corresponding newsgroup
would give you the quickest result.
 
I basically just need someway to save a file with a unique identifier
(I'm using screen recording software). Or if that is not possible,
set up some way that the file that is created everyday is renamed with
a unique identifier. Say screen.mpeg is automatically renamed to
(date).mpeg
 
Malicho said:
I basically just need someway to save a file with a unique identifier
(I'm using screen recording software). Or if that is not possible,
set up some way that the file that is created everyday is renamed with
a unique identifier. Say screen.mpeg is automatically renamed to
(date).mpeg

You could invoke a batch file with the following lines inside:

@echo off
echo Renaming screen.mpeg to %date:/=-%.mpeg
ren "c:\My Pictures\screen.mpeg" "%date:/=-%.mpeg"
ping localhost -n 6 > nul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top