|
-
May 15th, 2007, 04:59 PM
#1
Thread Starter
Addicted Member
shortcut extention + selecting file at random
got 2 questions
1) What is the extention to a shortcut? for example shortcut "1.avi" can not be called from an app cause i think it has a different real name
2)how can i make a program select a random existing file (shortcut file of avi) from its app.path folder?
-
May 15th, 2007, 07:53 PM
#2
Re: shortcut extention + selecting file at random
1) Shortcuts are *.lnk
2) Use Dir in a loop to get a list of files (you can use a dynamic array of strings for this), then select one at random.
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
|