|
-
Modding with Class
OK, here's the idea and my somewhat failed attempt...
use FScommand to execute command.com, thus creating a .txt file to the user's hard drive.
After file is created, the stored variables can be later referenced for use in the standalone.
reason for this? Here's one... A user is navigating through your CD and wants to "bookmark" where he is for use later in a couple days when he has more time. He clicks a "bookmark" button, which creates a .txt file with a variable denoting the section of the movie he is in. A couple days later he inserts the CD, then chooses "Go to bookmark" from the movie's start page. At this point, the movie references the created .txt file for the variable "bookmark" and takes the user to that place in the movie. This would be great for instructional CDs that will be used over a period of days or weeks (sessions).
Now, here's my code:
fscommand ("exec", "command.com" add chr(9) add "/c" add chr(9) add "echo off" add chr(9)add "bookmark=this^is^where^you'd^store^the^locati on" add ">c:\bookmark.txt");
It seems to me that this should work, but for some reason it doesn't. I am getting a "file creation error" from the command line. If there are any suggestions, I'd love to hear them!
Regards,
Jabez
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|