Jump to content

Recommended Posts

Posted

I have 7 folders (1 for each day of the week) and each folder has 24 folders (1 for every hour) and was wodering if you can use vairable in a file path.

For example: DirCopy ("source path", "\\computer_name\d\@WDAY\0030" ,1)

I have tried a couple of different ways and can not seem to get it to work.

Any ideas?

Thanks in advance.

[font="Verdana"]People who say it cannot be done should not interrupt those who are doing it. - George Benard Shaw[/font]

  • Moderators
Posted (edited)

You have to seperate variables from strings, otherwise it will just see it as part of the string.

Try this:

DirCopy ("source path", "\\computer_name\d\" & @WDAY & "\0030" ,1)
Edited by big_daddy
Posted

Ah....gotch ya.

Thanks for the help :lmao:

[font="Verdana"]People who say it cannot be done should not interrupt those who are doing it. - George Benard Shaw[/font]

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
×
×
  • Create New...