Print file list to clipboard
Moderators: Hacker, petermad, Stefan2, white
Print file list to clipboard
Hi
Is there any way I can print a file list to a clipboard. I have a list of sql files that I want to run by listing them in another file and I want to simply copy the file list into the new file. Any ideas?
tx
Is there any way I can print a file list to a clipboard. I have a list of sql files that I want to run by listing them in another file and I want to simply copy the file list into the new file. Any ideas?
tx
these TC commands should help
You should asign a menu entry for each one of them and maybe a keyboard shortcut for easier access
Code: Select all
cm_CopyNamesToClip=2017;Copy filenames to clipboard
cm_CopyFullNamesToClip=2018;Copy names with full path
cm_CopyNetNamesToClip=2021;Copy names with UNC path
cm_CopySrcPathToClip=2029;Copy source path to clipboard
cm_CopyTrgPathToClip=2030;Copy target path to clipboard
TC for Linux please!
In menu File->Print->Filelist you can choose to print the list. If you only want to print into a file you'll have to install before manually a new Printer 'generic/text" and select instead of 'LTP1' just 'file' as connection for this printer.
sheepdog
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Re: Print file list to clipboard
1. Is there a command for "copy file list with size, date" et al to clipboard?
2. I've never figured out how to print to file so I can do something with it. I did like you said, "generic/txt" port: file but I always get a binary file. Is this an encoded format that I do not recognize or am I just doing it wrong?
Dan
2. I've never figured out how to print to file so I can do something with it. I did like you said, "generic/txt" port: file but I always get a binary file. Is this an encoded format that I do not recognize or am I just doing it wrong?
Dan
--
Dan
Dan
You are doing probably something wrong.
should appear.
sheepdog
- Install a new printer on your Computer 'Generic / Text only'
- You should do this without Plug and paly but by selecting it manually
- you should make sure that this generic Printer is not bound to LPT1 but to 'file'
- select all desired files/folders
- Select from menu File->Print->either 'Print filelist' or 'Print Filelist with Subdirs'
- Select the previous installed 'Generic / Text only' Printer
- After adjusting the page select print
- A dilaog box for typing in the name should appear.
- Choose a name with path and click on 'save'
Code: Select all
E:\Beta1 6.5\ini\Administrator\
50-50.ini
Addon.bar
Addon.br1
Adminbars.tws
blue.bar
blue.br1
293 k in 6 files
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
From the command line , i do :
If you want full path :
If you plan to do it from a button uppon a selected list of file, create a bat file such as doList.bat in TC Folder :
and add a button to your toolbar.with the dolist.bat as pgms and set %l as first parameter and any file you want for output file...
Code: Select all
FOR /F %i IN ( 'dir /b *.sql' ) do @echo %i %~zi %z~di >>output.txt
Code: Select all
FOR /F %i IN ( 'dir /b *.sql' ) do @echo %~fi %~zi %z~di >>output.txt
Code: Select all
@for /F %%i in ( 'type %1' ) do @echo %%~fi %%~zi %%~ti >>%2
Oh, if we come to that you can also use DiskDir Extended or DiskDIr where DisDirExtended prints also the Content of Archives in the List.
sheepdog
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
-
- Junior Member
- Posts: 6
- Joined: 2005-04-30, 14:30 UTC
Diskdir
Thanks. Dikdirextended works very well
-
- Junior Member
- Posts: 2
- Joined: 2015-10-23, 14:12 UTC
Re: Print file list to clipboard
Try TreeSize Pro (https:// www jam-software com/treesize)
1. TreeSize Pro allows the export of all files and folders and their details in a single row for each file, e.g., full path, size, last modified, etc.
(see example screen print below)
2. TreeSize Pro has a free fully-functional 30 day trial period.
3. TreeSize also offers a free version but I am not sure of it's limitations.
Example Screen Print - https:// drive.google.com/ file/d/1jIO99lgiTZdpgEPQTEhJKal286oc0i4u/view?usp=sharing
Direct link of the URLs disabled by Moderator
1. TreeSize Pro allows the export of all files and folders and their details in a single row for each file, e.g., full path, size, last modified, etc.
(see example screen print below)
2. TreeSize Pro has a free fully-functional 30 day trial period.
3. TreeSize also offers a free version but I am not sure of it's limitations.
Example Screen Print - https:// drive.google.com/ file/d/1jIO99lgiTZdpgEPQTEhJKal286oc0i4u/view?usp=sharing
Direct link of the URLs disabled by Moderator