I am having difficulty understanding how to copy a file ( a simple flash projector) from my project cd to the user's desktop. I can't get the path right. Do I need to create a folder first? Any help would be greatly appreciated.
Professional Software Development Tools
I am having difficulty understanding how to copy a file ( a simple flash projector) from my project cd to the user's desktop. I can't get the path right. Do I need to create a folder first? Any help would be greatly appreciated.
Chen you copy you can copy to the buildin variable _DesktopFolder.
File.Copy("AutoPlay\\Docs\\file.txt", _DesktopFolder .. "file.txt", false);
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Excellent! Thanks so much!
np![]()
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine