Creating a 'macro' ( or .exe file? ) in Windows 7 Ultimate

Firefox1701

New member
Local time
12:03 PM
Messages
24
Hello,
Not 100% sure if this is the right place for this question, or even whether it's a silly question, but here goes:
In the course of doing backups, I perform the following sequence of events:
  • Plug in external hard drive
  • Open 'My Computer'
  • Quick-format external hard drive
  • Open external hard drive
  • On external hard drive, create four new empty folders with pre-determined names
My first question is: is it possible to create a 'macro', in effect, which will do all of this in a single instruction ( ideally a keyboard instruction rather than a mouse-click - not a big mouse fan! )?
The names of the folders contain the date on which the backup is being done, hence, after creating them, I then have to manually change the part of the folder name relating to the current date. Is there any way to include this in the shortcut procedure above ( so that, for example, New Folder 1 was automatically named 'MyName Studio Backup - Today'sDate'?
Last but not least, is it possible, either as part of the same 'macro' or by creation of a separate one, to copy specific folders from the C drive into the newly-created backup folders, where the folders being copied do not all live in the same parent folder ( except in the sense that they're all on the C drive )?
I suspect that if there is in fact a solution to this, it probably exists at a level of DOS programming that may be beyond my knowledge, hence, possibly, making it more complicated and time-consuming to create the 'macro' ( or .exe file? ) than to simply do the job long-hand. I'd be interested to hear the thoughts of those more knowledgeable than me, however, which will most likely include many of the people reading this.
As I say, I don't know if this is the right place for this kind of question; if not, perhaps the moderator would be kind enough to move it to it's appropriate home?
Other than that, thanks for any help that might be forthcoming.
 

My Computer My Computer

At a glance

Windows 7 Ultimate
Computer type
PC/Desktop
OS
Windows 7 Ultimate
This can probably be achieved with some batch file code, and .bat (batch files) can be converted to an .exe. I've done it before... And yeah, a shortcut key can be assigned to an .exe. Did that before as well, and presently use them for various things.

Now, this doesn't necessarily answer your question, but I highly recommend FreeFileSync. If you check it out and just mess around with it and read the tutorials you actually might find it to be more suited to what you're after for your backup strategy.

FreeFileSync: Open Source File Synchronization & Backup Software
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
You could use free autoit Home - AutoIt it will create exe and lets you record action and writes code for you
 

My Computer My Computer

At a glance

win 8 32 bit
Computer type
PC/Desktop
OS
win 8 32 bit
Thank you both for your suggestions. I'll look into both of them and see how I get on.
 

My Computer My Computer

At a glance

Windows 7 Ultimate
Computer type
PC/Desktop
OS
Windows 7 Ultimate
Here's some useful Info. on AutoIt.

And you might want to look at the downloads they have here.

This is more advanced stuff, and a simple batch file turned into an .exe can be done.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Back
Top