PDA

View Full Version : URGENT NEWB QUESTIONS


RobertB
04-15-2003, 12:33 PM
Greetings IR Crew...Ok...I know this is basic...but, I am just getting back into Autoplay....I need to put this together very fast...but, I want a hotspot on text to locate a folder of photographic images and place them on the users computer...

I assume my first command is in the FILE area...but, I am not sure of the order of sequence. Also, what is my safest default location to place this on the users computer? C:\\My Documents

The users of this CD are not very experienced with their computers ...and, if they have XP...I am not sure how to write the correct path for All Users\My Documents etc.

TIA!

-Robert

Adam
04-15-2003, 01:30 PM
good to hear from you again!

Have you thought about creating a folder on the user's desktop? If so you could very easily include a Folder -> Create action and put the path as %DesktopNT%\myfolder. Then you could use this same path for a file -> copy action. The %DesktopNT% built in variable will work on all versions of Windows (NT and the others).

RobertB
04-15-2003, 01:35 PM
Hi Adam...thanks for your response...

But, how do I get away from copying one 'file' at a time versus copying the whole folder?

TJ_Tigger
04-15-2003, 01:39 PM
Do the pictures need to be on their PC? Will they continue to reference those pictures after the AMS application is terminated or will you remove them when they are finished with the AMS application?

Asides from those questions I would say that you might want to start with a command that will look to see if the folder alread exists. If it does not, then create the folder and copy the images into that folder.

I have not done much with this, but if you want I could try to put some actions together.

Adam
04-15-2003, 01:43 PM
In the File.Copy action you can specify the folder name followed by *.* to copy all the files in that folder. Check out the help file under Command Reference | Actions | File | copy as it gives a better explanation than I can