Help with modification of Print .bat file (Windows XP)
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Help with modification of Print .bat file (Windows XP)

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System
Author Message
Dennis
Guest





Posted: Sat Nov 20, 2004 3:11 am    Post subject: Help with modification of Print .bat file (Windows XP) Reply with quote

Using Windows XP Pro (current)

MS distributed the following Prin.bat file under Q272623.

@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

It works fine.

Need help modifying it to:

1) Print all files in all subdirectories below the Explorer-selected directory

2) Also, would like two .bat files:

One in Alpha order and
Another in desending date order
-Or-
One bat file with a choice for file order

It has been many years since my DOS days

TIA

Dennis
Back to top
Dennis
Guest





Posted: Sat Nov 20, 2004 3:23 am    Post subject: RE: Help with modification of Print .bat file (Windows XP) Reply with quote

Forgot to mention this!

I would like to be given the option to save the Notepad file to disk before
it is deleted.

Thanks

Dennis
*******************************
"Dennis" wrote:

Quote:
Using Windows XP Pro (current)

MS distributed the following Prin.bat file under Q272623.

@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

It works fine.

Need help modifying it to:

1) Print all files in all subdirectories below the Explorer-selected directory

2) Also, would like two .bat files:

One in Alpha order and
Another in desending date order
-Or-
One bat file with a choice for file order

It has been many years since my DOS days

TIA

Dennis
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB