aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-07-28 09:13:56 -0700
committerJohn MacFarlane <[email protected]>2024-07-28 09:13:56 -0700
commit7bc4f60789ee9d1b4db3ca411cbd13b3b7efdf2e (patch)
treeec055e68eedfe49a6f1148b05a46e9038f9b24ac /doc
parentd2993280226697e103ea60f88e49260e0382e804 (diff)
Update FAQ for converting a directory of files in Windows.
Use fullname rather than name (#5429 comment).
Diffstat (limited to 'doc')
-rw-r--r--doc/faqs.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/faqs.md b/doc/faqs.md
index 5dd338a1a..f756f2a68 100644
--- a/doc/faqs.md
+++ b/doc/faqs.md
@@ -11,7 +11,8 @@ On linux or OSX:
In Windows Powershell:
- gci -r -i *.txt |foreach{$rtf=$_.directoryname+"\"+$_.basename+".rtf";pandoc -f markdown -s $_.name -o $rtf}
+ gci -r -i *.txt
+ |foreach{$rtf=$_.directoryname+"\"+$_.basename+".rtf";pandoc -f markdown -s $_.fullname -o $rtf}
## I used pandoc to convert a document to ICML (or OPML or RTF), and when I try to open it I'm told it's invalid. What have I done wrong?