WinBatch Studio

Started by Kenny, December 24, 2014, 04:17:58 PM

Previous topic - Next topic

Kenny

oldpic=AskLine("What Picture to open: ", "What date of Picture to be opened:" .newpic

oldpic=AskLine("What Picture to open: ), ("What date of Picture to be opened :), newpic
FileOpen (Strcat, path, "/", oldpic, "Read")
pathname="E:\Downloads\Pictures\SkyrimNakedWomen"

What I am trying to do is read image names.

Error 1077: FileOpen; Open failed.
On line Descript Date=File Open(strcat(path,"/",oldpic,"Read")

DAG_P6

Quote from: Kenny on December 24, 2014, 04:17:58 PM
Error 1077: FileOpen; Open failed.
On line Descript Date=File Open(strcat(path,"/",oldpic,"Read")

Where I put the carat, replace forward slash ("/") with a backslash ("\"). Windows doesn't usually grok Unix path delimiters.

Date=File Open(strcat(path,"/",oldpic,"Read")
                                             ^
David A. Gray
You are more important than any technology.