Re: finding file in program with created filename
sixs wrote:
>
>
>I want to open a file using a filename that I create. When I run this
>statement iget a value of -1 .
>
>If I run the statement
> Handler =
>open("C:\\Downloads\\abgte2\\DATA\\SCR001.txt","r")
>I get the file opened.
>
>If I run the statement
>
> Handler =
>open("C:\\Downloads\\abgte2\\DATA\\filename"&".txt","r")
>I get the file not found, -1.
>
>
Well, it should look like this:
open("C:\\Downloads\\abgte2\\DATA\\"&filename&".txt","r")
|
Not Categorized, Please Help
|
|