hi!
i hope anyone of you can help me with my problem.
i want to create/copy a .zip file but it should have a variable name. but if i try to use a variable in the file.copy destination i get an error (invalid destination) :(
here's a little code snippet. i tried it with variable in destination (see below) or put the variable content directly into the dest. field but it doesnt seem to work. is it "normal" that you cant use variables in file.copy ?
i hope anyone of you can help me with my problem.
i want to create/copy a .zip file but it should have a variable name. but if i try to use a variable in the file.copy destination i get an error (invalid destination) :(
here's a little code snippet. i tried it with variable in destination (see below) or put the variable content directly into the dest. field but it doesnt seem to work. is it "normal" that you cant use variables in file.copy ?
Code:
newUserFile = "Users\\"..newUserName..".zip" File.Copy("Users\\Default.zip", newUserFile, true, true, false, true, nil);
Comment