Last Shout - Posted by: The_Great_Beast - Thursday, 14 March 2013 21:31
http://psxhaven.com/vip
 
gfxgfx
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

June 18, 2013, 08:47:27 PM
gfxgfx

gfx* Home Help Search Tags Calendar Login Registergfx
Tags:
PSXhaven.com  |  General Category  |  Tutorials  |  [HOW TO] Dump file and directory lists to text files (DOS Batch) 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [HOW TO] Dump file and directory lists to text files (DOS Batch)  (Read 685 times)
The_Great_Beast
666
Administrator
Hero Member
*

Reputation: +7062/-6
Offline Offline

Gender: Male
United States United States

Posts: 4885


All this spinning is making me fucking dizzy!

71841447 edsloter@hotmail.com edsloter ed_sloter
View Profile WWW Email
« on: April 15, 2010, 05:42:39 PM »

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

Code:
@echo ==================================================================
@echo ==================================================================
@echo Save this file as getDirList.bat in your SendTo directory.
@echo SendTo is under Documents and Settings in each user's directory.
@echo Right-click on any directory in Windows Explorer and choose
@echo Send To - getDirList.bat
@echo ==================================================================
@echo ==================================================================
@echo Dumping directory listing to c:\dirlist\dirListing.txt
@echo        (This may take some time for large directory trees.)
@REM the /A switch lists all hidden and system files as well.
@REM the /S switch lists all subdirectories and their contents.
@mkdir c:\dirlist
@dir %1 /A /S > c:\dirlist\dirListing.txt
@echo Opening c:\dirlist\dirListing.txt in Notepad (Close notepad to delete file)
@notepad c:\dirlist\dirListing.txt
@echo Deleting c:\dirlist\dirListing.txt
@rmdir /s /q c:\dirlist
@pause

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003.
Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.
win7 location:  \users\username\AppData\Roaming\Microsoft\WIndows\SendTo
« Last Edit: April 15, 2010, 07:11:33 PM by The_Great_Beast » Logged







Join our VIP Area 2.0MB/s++ Downloads!! rock  (LEARN HOW TO JOIN FOR FREE)
Follow the Site Rules or you will be banned!
Free shipping all items http://psxhaven.com/shop
Demon002
Jr. Member
*

Reputation: +191/-0
Offline Offline

United States United States

Posts: 69



View Profile Email
« Reply #1 on: April 15, 2010, 06:16:46 PM »

This post is useless now, script edits make this completely useable in win7 without any questions asked.
 thankyou

EDIT: If you don't like download bat files you cant confirm without looking at them

merely copy the code in grey paste it to  Notepad  and click File-> Save As

Save it as  GetDirList.bat

Be sure to include ".bat"
« Last Edit: April 15, 2010, 07:36:14 PM by Demon002 » Logged

I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.
The_Great_Beast
666
Administrator
Hero Member
*

Reputation: +7062/-6
Offline Offline

Gender: Male
United States United States

Posts: 4885


All this spinning is making me fucking dizzy!

71841447 edsloter@hotmail.com edsloter ed_sloter
View Profile WWW Email
« Reply #2 on: April 15, 2010, 07:09:23 PM »

fixed the win7 issues no need to run as admin Smiley thanks for your help fixing it.
« Last Edit: April 15, 2010, 07:35:32 PM by The_Great_Beast » Logged







Join our VIP Area 2.0MB/s++ Downloads!! rock  (LEARN HOW TO JOIN FOR FREE)
Follow the Site Rules or you will be banned!
Free shipping all items http://psxhaven.com/shop
Demon002
Jr. Member
*

Reputation: +191/-0
Offline Offline

United States United States

Posts: 69



View Profile Email
« Reply #3 on: April 16, 2010, 01:16:20 AM »

... Comming soon Linux/Unix version =)
Logged

I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.I will obey Rule#4.
Tags:
PSXhaven.com  |  General Category  |  Tutorials  |  [HOW TO] Dump file and directory lists to text files (DOS Batch) « previous next »
Pages: [1] Go Up Print 
Jump to:  
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Apollo design by Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.127 seconds with 20 queries.
 


MKPortal M1.1.1 ©2003-2006 mkportal.it
Page generated in 0.0644 seconds with 15 queries