Results 1 to 2 of 2

Thread: shortcut extention + selecting file at random

  1. #1

    Thread Starter
    Addicted Member MoE70's Avatar
    Join Date
    May 2006
    Posts
    185

    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?

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    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
  •  



Click Here to Expand Forum to Full Width