Print / Export Folder Listing - DOS Dir Command Formatting Wanted

Print / Export Folder Listing - DOS Dir Command Formatting Wanted:

From: leo

Auto-sized columns isn't supported when printing folders. But you don't usually need it. Use the .CSV output format instead of .TXT and the columns can be as long as is needed, and can be auto-sized or resized however you wish in the tool you use to view or print the CSV file (e.g. Excel or Google Sheets).

Print/Export Folder Listing is for printing or saving file details in text format. It wouldn't make sense for it to support view modes other than Details.

While this does provide a very nice and accurate columns display of my liking, I still prefer the layout I get by using the DOS 'Dir'
command, when it comes to making .TXT Files.

I used OpenOffice's spreadsheet to display the Files & Folders in .csv, Comma-Separated List Format, and also tryed the
Tab Separated (for Excel) option as well.

I dont know of any way to have some sort of 'Auto-Indentation' by either a character like a comma, tab, etc
for the various folders and sub-folders like a traditional hierarchy based manner/fashion to be displayed
either in a .TXT, .CSV, .PDF (Also Print output to file). The DOS 'Dir' command (As I have used many times
in windows) does a nearly perfect job of this.

Is there any way for me to replicate this using the Print / Export Folder Listing option ?

My Example:

I have traditionally used:

dir /S /O NG . >c:\files.txt

If you want the DOS dir output, why not just run the DOS dir command? You can set up an Opus button to run it on the current folder.

I Made a dos batch file to see if this would work, well, it does, but i do still get these errors.
One of the reasons why I bought DOpus is because i had problems copying/moving (cuting & pasting) files from
one location to another becase of windows stupid 255 character PATH limitation.

I still have this problem using the DOS Dir command, so I would like to know if there is a way I can use DOPus to get around this
limitation problem.

Here is an output example of what happens when i used the DOS Dir command

E:>dirlistCD

E:>dir /S /O NG . 1>files.txt

The directory name E:\Install Files, Command Line Apps & Portable Apps\6 - Multimedia - Converting Video, Audio, Documen
ts, Editors, Encoders, Graphics Creating, Players, etc\Blender Project\blender2.46rc3\blender-2.46-RC4-windows\blender-2
.46-RC4-windows.blender\locale\ar\LC_MESSAGES is too long.

^CTerminate batch job (Y/N)? y

E:>

Is there a way for me to get a file/folder listing with approximately the same formatting as the DOS Dir command ?

Thanks

Using the Print/Export Folder dialog, I think there is a way to get indentation but it wouldn't work great with extremely long paths. The only other way I can think of is to use the CSV output mode and then post-process the results into the format you want (which should be possible using an Excel macro, for example).

Using scripting in Opus is another alternative, and Opus gives you a very easy way to have scripts iterate through files and sub-folders and pull out any file details you want. You may still run into path limits there, though, as parts of Windows simply don't deal with paths over 255 characters. We only guarantee that the essentials work with such paths, enough to let you list, copy, move, rename and delete files, as it's not possible to guarantee everything else will work (too much is outside our control).

If you have paths that long the best thing to do is shorten them, even if Opus copes fine with them, as they will cause problems with something, even if it is not Opus. e.g. Verbose details like "6 - Multimedia - Converting Video, Audio, Documents, Editors, Encoders, Graphics Creating, Players, etc" could be moved into the Description/Comment field of a folder, with the folder's name shortened.