How can i save all my files names into TXT file?
Moderators: Hacker, petermad, Stefan2, white
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
The MakeBat plugin can help with this problem.
I switched to Linux, bye and thanks for all the fish!
Re: How can i save all my files names into TXT file?
Try DiskDir or DiskDir Extended and find out whether it meets your needs.
Code: Select all
dir c:\ /s >d:\My_C_Drive.txt
"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
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Enhancing this to really include ALL filenames - without additional stuff like filesizes and filetimes - we end up launchingSheepdog wrote:Code: Select all
dir c:\ /s >d:\My_C_Drive.txt
Code: Select all
dir c:\ /a /ogn /b /s > d:\My_C_Drive.txt
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
/ogn is cool, didn't expect that it works like that.karlchen wrote:Code: Select all
dir c:\ /a /ogn /b /s > d:\My_C_Drive.txt
thanks
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
Hm , perhaps the correct form would be this:
Reason:
/a will include any files and directories, no matter what their attributes are.
/a:-d will exclude any directory, but include all files, no matter what their attributes are.
So this will list ALL files from all (sub)directories, but without listing the directory names themselves.
And the request was to list all filenames, not all directory names or both.
Karl
Code: Select all
dir c:\ /a:-d /on /b /s > d:\My_C_Drive.txt
/a will include any files and directories, no matter what their attributes are.
/a:-d will exclude any directory, but include all files, no matter what their attributes are.
So this will list ALL files from all (sub)directories, but without listing the directory names themselves.
And the request was to list all filenames, not all directory names or both.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
if you use some "exotic filenames" mean accentuated, ù é ê § .....
the dir command do not work correctly unless you use a correct codepage !
for this you should use or any other codepage
if you want to copy only some selected file-name into a particurar textfile, you can use TCBlnch : http://www.geocities.com/nospam0123456/forTC
you can add a button in your tcBar
set command to :
tcbllnch
set parrameters to -q %L echo $f $AC:\MySelectedFiles.txt
..
Select some File inside TC and add the long filename in your file by clicking on your button !
the dir command do not work correctly unless you use a correct codepage !
for this you should use
Code: Select all
chcp 1252
if you want to copy only some selected file-name into a particurar textfile, you can use TCBlnch : http://www.geocities.com/nospam0123456/forTC
you can add a button in your tcBar
set command to :
tcbllnch
set parrameters to -q %L echo $f $AC:\MySelectedFiles.txt
..
Select some File inside TC and add the long filename in your file by clicking on your button !
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
---- GET_NAMES.bat
Code: Select all
@echo off
:: =================================================================
:: PURPOSE: Starts editor with list of all files in current folder
:: ARG : %1 (folder to display, optional)
:: =================================================================
dir %1 /b /OG /ON > %temp%\_GetNames.txt
start "%UTILS%\Edit Plus\EditPlus.exe" %temp%\_GetNames.txt
Last edited by majkinetor on 2006-01-03, 10:29 UTC, edited 1 time in total.
We are not doing this just for the money.
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
@nsp:
You should explain that "TCBlnch" app in more detail, start with explaining why anyone should use it and what to do with it. It looks too geeky on first sight and not very attractive to try out.
Somehow it looks like a lst2multi replacement. But, why should I create a batch and start that instead of directly starting the application?
Icfu
You should explain that "TCBlnch" app in more detail, start with explaining why anyone should use it and what to do with it. It looks too geeky on first sight and not very attractive to try out.
Somehow it looks like a lst2multi replacement. But, why should I create a batch and start that instead of directly starting the application?
Icfu
This account is for sale
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
2 icfu
Here is the banana I promised long ago, for your new storage place
www.r-moth.com/_/bananasplit/bananasplit.rar (~25K)
Here is the banana I promised long ago, for your new storage place

www.r-moth.com/_/bananasplit/bananasplit.rar (~25K)
We are not doing this just for the money.
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com