limboo
08-05-2009, 09:25 AM
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.exe"
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?
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.exe"
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?