Page 1 of 1

VBoxManage export Filname with date

Posted: 15. Jul 2013, 15:15
by lhoem
Hello!

I try to make an export with a batchfile. Can I make an automated rename to the ovf file with date or other variables.

Example:
VBoxName: Server1
Date of the export: 07/15/2013
Batch-Command "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" export "Server1" --output c:\vm_backup\server1_date%.ovf

The file ist named: server1_07152013.ovf in the path c:\vm_backup\

Is this possible?

Regards
Lothar

Re: VBoxManage export Filname with date

Posted: 16. Jul 2013, 11:24
by noteirak
Yes you can, but that's a question for the Windows forum. Virtualbox itself doesn't support variables, you need to do that in the CMD environment.