WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: Kenny on December 24, 2014, 04:17:58 PM

Title: WinBatch Studio
Post by: Kenny on December 24, 2014, 04:17:58 PM
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")
Title: Re: WinBatch Studio
Post by: DAG_P6 on December 25, 2014, 12:06:11 AM
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")
                                             ^