Jump to content
Sign in to follow this  
mfurman

need help with backup script

Recommended Posts

mfurman

making a backup script is there a way to get DirCopy to run similar to this i need to pull the username from a pc and create a folder dynamically in \backup with the username from the pc :

DirCopy(@FavoritesDir, "C:\Backups\@UserName\Favorites", 1)
Edited by mfurman

Share this post


Link to post
Share on other sites
enaiman

@UserName inside quotes is treated as simple text and not as a macro.

The correct line would be:

DirCopy(@FavoritesDir, "C:\Backups\"&@UserName&"\Favorites", 1)


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


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
Sign in to follow this  

×