win batch: quote paths
This commit is contained in:
parent
c849f96cc3
commit
85397eac08
@ -50,7 +50,7 @@ void WinSchedToolW::init()
|
||||
|
||||
if (!path_exists(batchfile)) {
|
||||
FILE *fp = fopen(batchfile.c_str(), "w");
|
||||
fprintf(fp, "%s -c %s\n", recollindex.c_str(),
|
||||
fprintf(fp, "\"%s\" -c \"%s\"\n", recollindex.c_str(),
|
||||
theconfig->getConfDir().c_str());
|
||||
fclose(fp);
|
||||
}
|
||||
@ -62,8 +62,7 @@ void WinSchedToolW::init()
|
||||
"(<i>Create task</i> in the menu on the right), or the simplified "
|
||||
"<i>Create Basic task</i> wizard. In both cases Copy/Paste the "
|
||||
"batch file path listed below as the <i>Action</i> to be performed."
|
||||
"Once created, you will find your task in the <i>WPD</i> section "
|
||||
"of the task library.</p>"
|
||||
"</p>"
|
||||
);
|
||||
|
||||
blurb.append("</p><p><tt>").append(u8s2qs(batchfile)).append("</tt></p>");
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>508</width>
|
||||
<height>416</height>
|
||||
<height>292</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user