Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   Free Program That Are Able To Make A Info Txt File (http://www.abandonia.com/vbullet/showthread.php?t=1950)

Petter1979 27-12-2004 10:01 AM

Well im gonna try explain the program im seeking, Im seeking a free program that can automatically make a infotxt about contents in a directory or a future cd.

I download a few games, patches, manuals from here, and i want to burn those files onto a cd, but i want to be able to have a good overview on whats on the cd.

ex. i make a directory called newCD. And i want the program to type a file list txt of all the files in that directory.

It could look something like this:

/Games Windows/Ufo/UFO - Enemy Unknown.zip

/Patches and ect/Ufo/XcomUTIL 9.6 beta/xcubeta.zip


and so on, anyone know of such program? :blink: :help:

Kon-Tiki 27-12-2004 10:04 AM

Nope, but a program like that's fingerpractice in a scripting language. I'd write one for you, but I can't code in any decent scripting language (yet) and wouldn't know how to read the contents of a directory and turn each result into a string in any language I do know.

Data 27-12-2004 03:41 PM

dir /s > blah.txt
dir /v > blah.txt
one of the 2 I don't recall it correctly

Kon-Tiki 27-12-2004 03:48 PM

Simple .bat-file then, if you're lazy :D
Just tested /s and /v. /s is recursive, while /v only shows the contents of the current folder.

Petter1979 27-12-2004 04:44 PM

wow nice :)

didnt knew it would be this easy, Thanks Data :ok:

Unknown Hero 28-12-2004 01:17 AM

Quote:

Originally posted by Kon-Tiki@Dec 27 2004, 05:48 PM
Simple .bat-file then, if you're lazy :D
Just tested /s and /v. /s is recursive, while /v only shows the contents of the current folder.

Where should I write those lines??? :blink:

I don't get it! :tomato:

Kon-Tiki 28-12-2004 01:34 AM

Make a .txt-file and put this in it:
Code:

@Echo off
Dir /s > Index.txt

Save the file, then rename it to whatever you want.bat <---- Don't forget this. Change the .txt to .bat. The icon should change when you've done that. Running the file'll make a file called Index.txt with the listing of all files and folders, and all contents of the subfolders.

Eagle of Fire 28-12-2004 04:07 AM

Or, in old DOS commands, just type "edit blabla.bat" and write those 2 lines there.

And voila! :)

Tuttle 28-12-2004 06:45 AM

dir /s /b is probably a better choice than just dir /s. The /b means it'll list pathnames only, without all the table headers and footers and stuff.

Petter1979 28-12-2004 09:57 AM

I researched a bit more about dos commands, and i have found some good switches to add.

The command i like the most now is:

DIR /S /A:A /D /O:G > blah.txt


The current time is 10:34 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.