Extracting File / Folder Names

B

Big Rick

Hello Folks
I was wondering if anyone can tell me if there utility available to extract
the file / folder names from a CD or DVD and have the results pasted into a
text box in any of the Office suite. I am using Win Xp and Office 2003.

Your help is and always has been very much appreciated.
Thanking you in anticipation
 
D

db

you can use this
link to add a
right click command
that will print a listing of
the folders:

http://support.microsoft.com/kb/321379


Hello Folks
I was wondering if anyone can tell me if there utility available to extract
the file / folder names from a CD or DVD and have the results pasted into a
text box in any of the Office suite. I am using Win Xp and Office 2003.

Your help is and always has been very much appreciated.
Thanking you in anticipation
 
B

Big Rick

Hi. Many apologies for not repling sooner, but I have been quite ill over the
past couple of weeks.

This is not bad, but not quite what I am after. This utility will only print
the contents of an individual folder direct to the printer with lots of of
other information that is not needed.
What I would ideally like is to have just the folder names direct from a
CD/DVD pasted into a text box into the Office suite. You first responce was
still very much appreciated.
Please can you help me a little bit further.
Thank you.
 
D

db

ok,

if you were successful
with adding the feature as
per the microsoft kb provided,
then maybe some tweaking / fine tuning
will provide a solution.

what is required is simply
modifing the printdir.bat
file with your notepad.

search for the file inside
your directory for windows
then right click on it and select
edit. notepad should open it.

then replace everything inside
with this modification i created
for you:

@echo off
dir %1 /-p /b > "c:\Listing.doc"
"c:\Listing.doc"

as you can see by the above
it is not to different than what
the batch file (.bat) contained.

except the directory will only
print filenames and will save
it to the c drive as "listing.doc"

if your system is configured
appropriately, the .doc file
will open in word.

i have not tested it on
cd drive folders. but you
can try the process above
again by right clicking on one
of the folders....

[actually, i think your idea was
pretty good, so i have
changed my batch file as well]


Hi. Many apologies for not repling sooner, but I have been quite ill over the
past couple of weeks.

This is not bad, but not quite what I am after. This utility will only print
the contents of an individual folder direct to the printer with lots of of
other information that is not needed.
What I would ideally like is to have just the folder names direct from a
CD/DVD pasted into a text box into the Office suite. You first responce was
still very much appreciated.
Please can you help me a little bit further.
Thank you.
 
B

Big Rick

Hello again.
This is so much better than the original. Thank you very much.
I cannot get it to work directly off a CD/DVD drive though, so if you ever
stumble across a solution, then I would be eternally grateful!

Thank you once again for your all your time and effort.
--
Big Rick


db said:
ok,

if you were successful
with adding the feature as
per the microsoft kb provided,
then maybe some tweaking / fine tuning
will provide a solution.

what is required is simply
modifing the printdir.bat
file with your notepad.

search for the file inside
your directory for windows
then right click on it and select
edit. notepad should open it.

then replace everything inside
with this modification i created
for you:

@echo off
dir %1 /-p /b > "c:\Listing.doc"
"c:\Listing.doc"

as you can see by the above
it is not to different than what
the batch file (.bat) contained.

except the directory will only
print filenames and will save
it to the c drive as "listing.doc"

if your system is configured
appropriately, the .doc file
will open in word.

i have not tested it on
cd drive folders. but you
can try the process above
again by right clicking on one
of the folders....

[actually, i think your idea was
pretty good, so i have
changed my batch file as well]


Hi. Many apologies for not repling sooner, but I have been quite ill over the
past couple of weeks.

This is not bad, but not quite what I am after. This utility will only print
the contents of an individual folder direct to the printer with lots of of
other information that is not needed.
What I would ideally like is to have just the folder names direct from a
CD/DVD pasted into a text box into the Office suite. You first responce was
still very much appreciated.
Please can you help me a little bit further.
Thank you.

--
Big Rick


db said:
you can use this
link to add a
right click command
that will print a listing of
the folders:

http://support.microsoft.com/kb/321379


Hello Folks
I was wondering if anyone can tell me if there utility available to extract
the file / folder names from a CD or DVD and have the results pasted into a
text box in any of the Office suite. I am using Win Xp and Office 2003.

Your help is and always has been very much appreciated.
Thanking you in anticipation
 
D

db

you're welcome.

microsoft's print tool is a useful
one click convenience for folders
but seems not to work for root directories.

there is a manual dos command version
to print a directory.

for example if your cd/dvd is the e drive,
then open a cmd window and at the prompt
type

e:

then at the e:\> prompt
type:

dir>c:\listing.doc

then open that doc file in word.


incidently, microsoft has another
right click tool for "opening a command"
window:

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

the right click command window is handy
when going to start > run > cmd is not
fast enough.

Hello again.
This is so much better than the original. Thank you very much.
I cannot get it to work directly off a CD/DVD drive though, so if you ever
stumble across a solution, then I would be eternally grateful!

Thank you once again for your all your time and effort.
--
Big Rick


db said:
ok,

if you were successful
with adding the feature as
per the microsoft kb provided,
then maybe some tweaking / fine tuning
will provide a solution.

what is required is simply
modifing the printdir.bat
file with your notepad.

search for the file inside
your directory for windows
then right click on it and select
edit. notepad should open it.

then replace everything inside
with this modification i created
for you:

@echo off
dir %1 /-p /b > "c:\Listing.doc"
"c:\Listing.doc"

as you can see by the above
it is not to different than what
the batch file (.bat) contained.

except the directory will only
print filenames and will save
it to the c drive as "listing.doc"

if your system is configured
appropriately, the .doc file
will open in word.

i have not tested it on
cd drive folders. but you
can try the process above
again by right clicking on one
of the folders....

[actually, i think your idea was
pretty good, so i have
changed my batch file as well]


Hi. Many apologies for not repling sooner, but I have been quite ill over the
past couple of weeks.

This is not bad, but not quite what I am after. This utility will only print
the contents of an individual folder direct to the printer with lots of of
other information that is not needed.
What I would ideally like is to have just the folder names direct from a
CD/DVD pasted into a text box into the Office suite. You first responce was
still very much appreciated.
Please can you help me a little bit further.
Thank you.

--
Big Rick


db said:
you can use this
link to add a
right click command
that will print a listing of
the folders:

http://support.microsoft.com/kb/321379


Hello Folks
I was wondering if anyone can tell me if there utility available to extract
the file / folder names from a CD or DVD and have the results pasted into a
text box in any of the Office suite. I am using Win Xp and Office 2003.

Your help is and always has been very much appreciated.
Thanking you in anticipation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top