Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > General


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-21-2020, 02:57 PM
joey joey is offline
Registered User
Join Date: Sep 2020
Posts: 2
Variables in Command Manager commands

I need to be able to run a command that copies a file from a system to a backup location. The source filename is always the same, but I would like the destination filename to be timestamped. (Ie., source is "flash.tar.gz", and destination would be 2020-09-21-flash.tar.gz.)

I can automate everything else with an entry in the Command Manager, but I do not see any obvious way to insert something like a timestamp. I can write a short script, but that would then require an external file (external to the VanDyke/SecureCRT settings). If there was an option within the Command Manager, it would allow a simple command like this to stay within my SecureCRT settings.

If this does not exist, is it something that could be requested? Or is this something that was always intended to be scripted, rather than a variable that can be accessed from a Command?

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 11:02 PM.