diff --git a/po/ar.po b/po/ar.po index b85b3b7b2b1..beaa036ff14 100644 --- a/po/ar.po +++ b/po/ar.po @@ -13153,6 +13153,13 @@ msgstr "بدء التشغيل" msgid "&Run..." msgstr "ش&غل..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "الاستخدام: hostname\n" diff --git a/po/ast.po b/po/ast.po index 1d29f8ae96d..c05472979d5 100644 --- a/po/ast.po +++ b/po/ast.po @@ -12162,6 +12162,13 @@ msgstr "" msgid "&Run..." msgstr "&Executar..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/bg.po b/po/bg.po index c4342003089..6d84c14ffac 100644 --- a/po/bg.po +++ b/po/bg.po @@ -12458,6 +12458,13 @@ msgstr "Рестартиране" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/ca.po b/po/ca.po index c2c226bac3e..2d5954f59f1 100644 --- a/po/ca.po +++ b/po/ca.po @@ -12664,6 +12664,13 @@ msgstr "Inici" msgid "&Run..." msgstr "&Executa..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Ús: hostname\n" diff --git a/po/cs.po b/po/cs.po index 1a3a390fd3c..8ed710483dd 100644 --- a/po/cs.po +++ b/po/cs.po @@ -12674,6 +12674,13 @@ msgstr "Start" msgid "&Run..." msgstr "&Spustit..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Použití: název počítače\n" diff --git a/po/da.po b/po/da.po index 21665047417..69ad6863c82 100644 --- a/po/da.po +++ b/po/da.po @@ -13066,6 +13066,13 @@ msgstr "Start op" msgid "&Run..." msgstr "Kø&r..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Brug: værtsnavn\n" diff --git a/po/de.po b/po/de.po index dd932ce6d2a..cbf6b6e03d7 100644 --- a/po/de.po +++ b/po/de.po @@ -12627,6 +12627,13 @@ msgstr "Start" msgid "&Run..." msgstr "&Ausführen..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Aufruf: hostname\n" diff --git a/po/el.po b/po/el.po index f6aea2adddf..a6bdf27bf38 100644 --- a/po/el.po +++ b/po/el.po @@ -12245,6 +12245,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/en.po b/po/en.po index 4a12132c827..9cfb0480593 100644 --- a/po/en.po +++ b/po/en.po @@ -12501,6 +12501,16 @@ msgstr "Start" msgid "&Run..." msgstr "&Run..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/en_US.po b/po/en_US.po index 809713b8243..28a637d9591 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -12501,6 +12501,16 @@ msgstr "Start" msgid "&Run..." msgstr "&Run..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/eo.po b/po/eo.po index 628c3472d8f..be669fa9d98 100644 --- a/po/eo.po +++ b/po/eo.po @@ -12316,6 +12316,13 @@ msgstr "Starto" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/es.po b/po/es.po index 59c5aad6510..0c9b65ce602 100644 --- a/po/es.po +++ b/po/es.po @@ -13138,6 +13138,13 @@ msgstr "Arranque" msgid "&Run..." msgstr "E&jecutar..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/fa.po b/po/fa.po index 1958a49cd73..78c6d580969 100644 --- a/po/fa.po +++ b/po/fa.po @@ -12199,6 +12199,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/fi.po b/po/fi.po index 1c0563a46ac..0bbb9156c45 100644 --- a/po/fi.po +++ b/po/fi.po @@ -12477,6 +12477,13 @@ msgstr "Käynnistä" msgid "&Run..." msgstr "&Suorita..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Käyttö: hostname\n" diff --git a/po/fr.po b/po/fr.po index bcb233f97a7..0469fc56c9a 100644 --- a/po/fr.po +++ b/po/fr.po @@ -13039,6 +13039,13 @@ msgstr "Démarrer" msgid "&Run..." msgstr "E&xécuter..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage : hostname\n" diff --git a/po/he.po b/po/he.po index b4f581c0f0e..c11b9c1bdd5 100644 --- a/po/he.po +++ b/po/he.po @@ -12708,6 +12708,13 @@ msgstr "תפריט ההתחלה" msgid "&Run..." msgstr "הפע&לה..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/hi.po b/po/hi.po index 96f0ed94b68..8227e0efba4 100644 --- a/po/hi.po +++ b/po/hi.po @@ -11996,6 +11996,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/hr.po b/po/hr.po index df2958bed25..adaa2ab5deb 100644 --- a/po/hr.po +++ b/po/hr.po @@ -12620,6 +12620,13 @@ msgstr "'Start' izbornik" msgid "&Run..." msgstr "Pok&reni..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uporaba: hostname\n" diff --git a/po/hu.po b/po/hu.po index 1dca812ea95..472ce8c0655 100644 --- a/po/hu.po +++ b/po/hu.po @@ -13057,6 +13057,13 @@ msgstr "Indítópult" msgid "&Run..." msgstr "&Futtatás..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Használat: kiszolgálónév\n" diff --git a/po/it.po b/po/it.po index 51f764df605..befa3e62d48 100644 --- a/po/it.po +++ b/po/it.po @@ -13139,6 +13139,13 @@ msgstr "Esecuzione automatica" msgid "&Run..." msgstr "&Esegui..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/ja.po b/po/ja.po index 7366aae95bd..2ef2039682b 100644 --- a/po/ja.po +++ b/po/ja.po @@ -12492,6 +12492,13 @@ msgstr "スタート" msgid "&Run..." msgstr "実行(&R)..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "使い方: hostname\n" diff --git a/po/ko.po b/po/ko.po index 914a2cf5908..ec83dc63493 100644 --- a/po/ko.po +++ b/po/ko.po @@ -12539,6 +12539,13 @@ msgstr "시작" msgid "&Run..." msgstr "실행(&R)..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "사용법: hostname\n" diff --git a/po/lt.po b/po/lt.po index 5d4a4eadeb5..cc3bcf25b74 100644 --- a/po/lt.po +++ b/po/lt.po @@ -12505,6 +12505,13 @@ msgstr "Pradžia" msgid "&Run..." msgstr "&Vykdyti..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Naudojimas: hostname\n" diff --git a/po/ml.po b/po/ml.po index f5bf3970e01..2a0b4548264 100644 --- a/po/ml.po +++ b/po/ml.po @@ -12010,6 +12010,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index 1ea04819e47..9c359c57450 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -12677,6 +12677,13 @@ msgstr "Start" msgid "&Run..." msgstr "Kjø&r..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Bruk: hostname\n" diff --git a/po/nl.po b/po/nl.po index b8b6c9722f0..33c33df3ea6 100644 --- a/po/nl.po +++ b/po/nl.po @@ -13102,6 +13102,13 @@ msgstr "Opstarten" msgid "&Run..." msgstr "&Starten..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Gebruik: hostname\n" diff --git a/po/or.po b/po/or.po index 2cc03aa0708..5b80b5e37b2 100644 --- a/po/or.po +++ b/po/or.po @@ -11996,6 +11996,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/pa.po b/po/pa.po index 96268a9a6fa..16823db0101 100644 --- a/po/pa.po +++ b/po/pa.po @@ -11996,6 +11996,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/pl.po b/po/pl.po index f31e00794fc..b2cee3e8135 100644 --- a/po/pl.po +++ b/po/pl.po @@ -12845,6 +12845,13 @@ msgstr "Start" msgid "&Run..." msgstr "Urucho&m..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Użycie: hostname\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 5eda7d3c8f1..d55f787de07 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -12637,6 +12637,13 @@ msgstr "Iniciar" msgid "&Run..." msgstr "E&xecutar..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Modo de usar: hostname\n" diff --git a/po/pt_PT.po b/po/pt_PT.po index 70bf547d9ef..baca2bab051 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -12816,6 +12816,13 @@ msgstr "Iniciar" msgid "&Run..." msgstr "Exec&utar..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/rm.po b/po/rm.po index abfecd61545..5be43f3d106 100644 --- a/po/rm.po +++ b/po/rm.po @@ -12079,6 +12079,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/ro.po b/po/ro.po index fa117c1f3fc..accffc4472d 100644 --- a/po/ro.po +++ b/po/ro.po @@ -12896,6 +12896,13 @@ msgstr "Meniu Start" msgid "&Run..." msgstr "E&xecutare..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Sintaxă: hostname\n" diff --git a/po/ru.po b/po/ru.po index 81edc04b64b..384ba118094 100644 --- a/po/ru.po +++ b/po/ru.po @@ -12556,6 +12556,13 @@ msgstr "Пуск" msgid "&Run..." msgstr "&Запустить..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Использование: hostname\n" diff --git a/po/si.po b/po/si.po index 534c005d358..59346b6884d 100644 --- a/po/si.po +++ b/po/si.po @@ -12257,6 +12257,13 @@ msgstr "ඇරඹුම" msgid "&Run..." msgstr "ධාවනය කරන්න... (&R)" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "භාවිතය: hostname\n" diff --git a/po/sk.po b/po/sk.po index 1db1ae9c166..74853846013 100644 --- a/po/sk.po +++ b/po/sk.po @@ -12456,6 +12456,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sl.po b/po/sl.po index 36e599f07d6..9686033eed7 100644 --- a/po/sl.po +++ b/po/sl.po @@ -13088,6 +13088,13 @@ msgstr "Zagon" msgid "&Run..." msgstr "&Zaženi ..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uporaba: hostname\n" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index 985d2c4516b..b0e34c499c2 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -12730,6 +12730,13 @@ msgstr "„Старт“ мени" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index 0da8cb931b4..21df6f72def 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -12857,6 +12857,13 @@ msgstr "„Start“ meni" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sv.po b/po/sv.po index 97981865721..a5bdd616fbe 100644 --- a/po/sv.po +++ b/po/sv.po @@ -12808,6 +12808,13 @@ msgstr "Start" msgid "&Run..." msgstr "&Kör..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Användning: hostname\n" diff --git a/po/ta.po b/po/ta.po index 121cd80fa49..28c5a25cbbd 100644 --- a/po/ta.po +++ b/po/ta.po @@ -11930,6 +11930,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/te.po b/po/te.po index 9f66c06b751..4bb2583004d 100644 --- a/po/te.po +++ b/po/te.po @@ -11996,6 +11996,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/th.po b/po/th.po index a615347f005..a69f6aaaeab 100644 --- a/po/th.po +++ b/po/th.po @@ -12278,6 +12278,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/tr.po b/po/tr.po index 9de30d9a169..6f9cf899e85 100644 --- a/po/tr.po +++ b/po/tr.po @@ -12588,6 +12588,13 @@ msgstr "Başlangıç" msgid "&Run..." msgstr "&Çalıştır..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Kullanım: hostname\n" diff --git a/po/uk.po b/po/uk.po index 3931bd61123..d6626b0b12e 100644 --- a/po/uk.po +++ b/po/uk.po @@ -12633,6 +12633,13 @@ msgstr "Пуск" msgid "&Run..." msgstr "&Запустити..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Використання: hostname\n" diff --git a/po/wa.po b/po/wa.po index 431fffb5bce..289f674b6f5 100644 --- a/po/wa.po +++ b/po/wa.po @@ -12182,6 +12182,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 7d570af7333..cae281066cd 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -11913,6 +11913,13 @@ msgstr "" msgid "&Run..." msgstr "" +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index ece14e54ce5..007eaea039b 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -12296,6 +12296,13 @@ msgstr "起点" msgid "&Run..." msgstr "运行(&R)..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "用法:hostname\n" diff --git a/po/zh_TW.po b/po/zh_TW.po index 0599cc7b887..a2c7d9dd4b8 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -13063,6 +13063,13 @@ msgstr "啟動" msgid "&Run..." msgstr "執行(&R)..." +#: fsutil.mc:28 +msgid "" +"- Supported Commands -\n" +"\n" +"[NONE]\n" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "用法:主機名稱\n" diff --git a/programs/fsutil/Makefile.in b/programs/fsutil/Makefile.in index 64307e83aca..fe736bad5d8 100644 --- a/programs/fsutil/Makefile.in +++ b/programs/fsutil/Makefile.in @@ -1,6 +1,10 @@ MODULE = fsutil.exe +IMPORTS = user32 EXTRADLLFLAGS = -mconsole -municode -mno-cygwin C_SRCS = \ main.c + +MC_SRCS = \ + fsutil.mc diff --git a/programs/fsutil/fsutil.mc b/programs/fsutil/fsutil.mc new file mode 100644 index 00000000000..54c801cb2bf --- /dev/null +++ b/programs/fsutil/fsutil.mc @@ -0,0 +1,27 @@ +; +; Copyright 2020 Arkadiusz Hiler for CodeWeavers +; +; This library is free software; you can redistribute it and/or +; modify it under the terms of the GNU Lesser General Public +; License as published by the Free Software Foundation; either +; version 2.1 of the License, or (at your option) any later version. +; +; This library is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +; Lesser General Public License for more details. +; +; You should have received a copy of the GNU Lesser General Public +; License along with this library; if not, write to the Free Software +; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +; + +LanguageNames=(ENU=0x409:fsutil) + +MessageId=101 +SymbolicName=STRING_USAGE +Language=ENU +- Supported Commands - + +[NONE] +. diff --git a/programs/fsutil/main.c b/programs/fsutil/main.c index eb4e3412976..1d61edab752 100644 --- a/programs/fsutil/main.c +++ b/programs/fsutil/main.c @@ -1,5 +1,6 @@ /* * Copyright 2016 Austin English + * Copyright 2016 Michael Müller * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,18 +17,70 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include + #include "wine/debug.h" +#include "resources.h" WINE_DEFAULT_DEBUG_CHANNEL(fsutil); -int __cdecl wmain(int argc, WCHAR *argv[]) +static void output_write(const WCHAR *str, DWORD wlen) { - int i; + DWORD count, ret; - WINE_FIXME("stub:"); - for (i = 0; i < argc; i++) - WINE_FIXME(" %s", wine_dbgstr_w(argv[i])); - WINE_FIXME("\n"); + ret = WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE), str, wlen, &count, NULL); + if (!ret) + { + DWORD len; + char *msgA; + + /* On Windows WriteConsoleW() fails if the output is redirected. So fall + * back to WriteFile(), assuming the console encoding is still the right + * one in that case. + */ + len = WideCharToMultiByte(GetConsoleOutputCP(), 0, str, wlen, NULL, 0, NULL, NULL); + msgA = HeapAlloc(GetProcessHeap(), 0, len * sizeof(char)); + if (!msgA) return; + + WideCharToMultiByte(GetConsoleOutputCP(), 0, str, wlen, msgA, len, NULL, NULL); + WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), msgA, len, &count, FALSE); + HeapFree(GetProcessHeap(), 0, msgA); + } +} + +static int WINAPIV output_string(int msg, ...) +{ + WCHAR out[8192]; + __ms_va_list arguments; + int len; + + __ms_va_start(arguments, msg); + len = FormatMessageW(FORMAT_MESSAGE_FROM_HMODULE, NULL, msg, 0, out, ARRAY_SIZE(out), &arguments); + __ms_va_end(arguments); + + if (len == 0 && GetLastError() != NO_ERROR) + WINE_FIXME("Could not format string: le=%u, msg=%d\n", GetLastError(), msg); + else + output_write(out, len); return 0; } + +int __cdecl wmain(int argc, WCHAR *argv[]) +{ + int i, ret = 0; + + TRACE("Command line:"); + for (i = 0; i < argc; i++) + TRACE(" %s", debugstr_w(argv[i])); + TRACE("\n"); + + if (argc > 1) + { + FIXME("unsupported command %s\n", debugstr_w(argv[1])); + ret = 1; + } + + output_string(STRING_USAGE); + return ret; +} diff --git a/programs/fsutil/resources.h b/programs/fsutil/resources.h new file mode 100644 index 00000000000..36b0ffc35f1 --- /dev/null +++ b/programs/fsutil/resources.h @@ -0,0 +1,21 @@ +/* + * Copyright 2016 Michael Müller + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +#define STRING_USAGE 101