Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Location
    The Netherlands
    Posts
    109

    file.find problem

    i have this problem.

    it's another sh!tty thing of am7 when you find al files with a *(wildcard) and you come across a folder with a dot (.) in it
    eg. folder.restoffoldername it will make this path in the table
    "C:\firstfolder\folder.restoffoldername\"

    and say there is a file in the folder like file.exe
    you will get this path

    "C:\firstfolder\folder.restoffoldername\file.e xe"
    but file find thinks folder.restoffoldername is a file because of the dot
    and what's the 1 thing that you really can't have in a filename yes
    a "\" so it will throw everything after the dot away and then you have this path

    "C:\firstfolder\folder." a file with a dot but no extension?
    that impossible because windows deletes the dot if there is nothing else behind the dot

    so when i try to use this path it will give a not to suppress (another beautiful thing of ams) error "attempt to call a nil value"

    is there any way i can fix this?

  2. #2
    Join Date
    May 2008
    Location
    The Netherlands
    Posts
    109
    guys i've fixed the problem it was because of a splitpath that worked through the whole programm until it was used by the filefind as a variable, then it went wrong.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts