Author

Topic: bounty 0.005BTC help me to create a batch file (Read 545 times)

full member
Activity: 209
Merit: 100
Here's the problem,

0. create a batch file (I need to list the names of the files and store it in as text file!)
1. Gather all filenames of files created on your C:\Users drive and on my Z:\ drive :
2. List all .txt /.ppt/.bat files on > f.txt  (redirect all files to this text file)
3. Sort f.txt by size on fsize.txt (largest - smallest) (redirect all files to this text file)
4. Sort f.txt by date on fdate.txt (oldest- recent) (will redirect all files to this tex tfile)



I sent a PM.
full member
Activity: 154
Merit: 100
★YoBit.Net★ 350+ Coins Exchange & Dice
maybe this site can help you try reading the discussion on there http://stackoverflow.com/questions/9143018/batch-copy-files-from-txt-file-into-one-folder if not then look out for some other tutorials by searching on google.
sr. member
Activity: 476
Merit: 250
Only trick I know about .bat files is this one which makes it look like matrix, just copy paste it on note pad and save it as .bat



@echo off

color 02

:start

echo   %random%  %random%  %random%  %random%  %random%  %random%    %random%   %random%  %random%           

goto start

Your answer has nothing to do with what the OP needs. I can't find anything related to the question.
hero member
Activity: 924
Merit: 506
Only trick I know about .bat files is this one which makes it look like matrix, just copy paste it on note pad and save it as .bat



@echo off

color 02

:start

echo   %random%  %random%  %random%  %random%  %random%  %random%    %random%   %random%  %random%           

goto start
sr. member
Activity: 1372
Merit: 255
Hi, I started using computer in MSDOS days, Windows 3.11 .. Until now I am comfortable with DOS command prompt.

0. I can do this..
1. If users in C:\users has a password this is not possible, you must delete or disable their password first.
2. This is possible
3. This is possible
4. This is possible

Shall we start? PM me on my Facebook located in my signature.

Your problem,
0. create a batch file (I need to list the names of the files and store it in as text file!)
1. Gather all filenames of files created on your C:\Users drive and on my Z:\ drive :
2. List all .txt /.ppt/.bat files on > f.txt  (redirect all files to this text file)
3. Sort f.txt by size on fsize.txt (largest - smallest) (redirect all files to this text file)
4. Sort f.txt by date on fdate.txt (oldest- recent) (will redirect all files to this tex tfile)
sr. member
Activity: 322
Merit: 250
I can help you with on your C:\Users drive and on my Z:\ drive not sure about the others?

All the directory and sub directories of all files on my C:\Users and Z:\  should be present in the text files.

My knowledge about batch file are limited maybe I didn't encounter this problem.

I just need to gather all files on drive c: and drive z: pasted in a file text
directory structure of the c: drive on desktop C:\Users\ITE1-31

I can't possibly help you, my operating system is Linux.
hero member
Activity: 546
Merit: 500
I can help you with on your C:\Users drive and on my Z:\ drive not sure about the others?

All the directory and sub directories of all files on my C:\Users and Z:\  should be present in the text files.

My knowledge about batch file are limited maybe I didn't encounter this problem.

I just need to gather all files on drive c: and drive z: pasted in a file text
directory structure of the c: drive on desktop C:\Users\ITE1-31
sr. member
Activity: 322
Merit: 250
I can help you with on your C:\Users drive and on my Z:\ drive not sure about the others?

All the directory and sub directories of all files on my C:\Users and Z:\  should be present in the text files.

My knowledge about batch file are limited maybe I didn't encounter this problem.
hero member
Activity: 546
Merit: 500
I can help you with on your C:\Users drive and on my Z:\ drive not sure about the others?

All the directory and sub directories of all files on my C:\Users and Z:\  should be present in the text files.
sr. member
Activity: 420
Merit: 250
Here's the problem,

0. create a batch file (I need to list the names of the files and store it in as text file!)
1. Gather all filenames of files created on your C:\Users drive and on my Z:\ drive :
2. List all .txt /.ppt/.bat files on > f.txt  (redirect all files to this text file)
3. Sort f.txt by size on fsize.txt (largest - smallest) (redirect all files to this text file)
4. Sort f.txt by date on fdate.txt (oldest- recent) (will redirect all files to this tex tfile)

1.Open Notepad and then type this:

dir /b > fileslist.txt
if you want a recursive listing, type this:

dir /b /s > fileslist.txt


2.Click File > Save As…

3.Save as type: All Files, File name: filelist.bat

4.Now just double click on filelist.bat and it will generate filelist.txt which contains list of files and folders. If you want create a list of files in another folder, just move this app into that folder.

sr. member
Activity: 322
Merit: 250
I can help you with on your C:\Users drive and on my Z:\ drive not sure about the others?
hero member
Activity: 546
Merit: 500
Here's the problem,

0. create a batch file (I need to list the names of the files and store it in as text file!)
1. Gather all filenames of files created on your C:\Users drive and on my Z:\ drive :
2. List all .txt /.ppt/.bat files on > f.txt  (redirect all files to this text file)
3. Sort f.txt by size on fsize.txt (largest - smallest) (redirect all files to this text file)
4. Sort f.txt by date on fdate.txt (oldest- recent) (will redirect all files to this tex tfile)
Jump to: