win batch: quote paths
This commit is contained in:
parent
c849f96cc3
commit
85397eac08
@ -50,7 +50,7 @@ void WinSchedToolW::init()
|
|||||||
|
|
||||||
if (!path_exists(batchfile)) {
|
if (!path_exists(batchfile)) {
|
||||||
FILE *fp = fopen(batchfile.c_str(), "w");
|
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());
|
theconfig->getConfDir().c_str());
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
@ -62,8 +62,7 @@ void WinSchedToolW::init()
|
|||||||
"(<i>Create task</i> in the menu on the right), or the simplified "
|
"(<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 "
|
"<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."
|
"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 "
|
"</p>"
|
||||||
"of the task library.</p>"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
blurb.append("</p><p><tt>").append(u8s2qs(batchfile)).append("</tt></p>");
|
blurb.append("</p><p><tt>").append(u8s2qs(batchfile)).append("</tt></p>");
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>508</width>
|
<width>508</width>
|
||||||
<height>416</height>
|
<height>292</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user