Yahoo 知識+ 將於 2021 年 5 月 4 日 (美國東岸時間) 停止服務,而 Yahoo 知識+ 網站現已轉為僅限瀏覽模式。其他 Yahoo 資產或服務,或你的 Yahoo 帳戶將不會有任何變更。你可以在此服務中心網頁進一步了解 Yahoo 知識+ 停止服務的事宜,以及了解如何下載你的資料。

In MS Word, how do I copy the list of files in a folder to a new document?

I want to rearrange the allocation of files in a set of folders (specifically, these are files related to chapers in a book that I am writing, and I am rearranging the range of the chapters). So it would be helpful to copy the list of files that appears (not the files themselves!) when I open the existing folders

1 個解答

相關度
  • ?
    Lv 7
    2 年前

    It can't be done from Microsoft Word alone.  While pressing a Shift key, right-click the folder containing the files you wish to list, and click "Open command window here."

    At the prompt, type this command and press Enter.

      DIR /B /A-D > %TEMP%\filelist.tmp

    Close the command prompt.

    In Word, click Insert and File, then type %temp%\filelist.tmp and click Insert.

還有問題嗎?立即提問即可得到解答。