Alternative Nation
Go Back   Alternative Nation

Notices

View Single Post
Old 21st February 2008, 1:48pm   #4
PapaZeb
MANLEGEND
SuperMod
 
PapaZeb's Avatar
 
Join Date: Sep 2002
Location: Las Vegas, NV
Posts: 27,135
PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'PapaZeb sings 'rep rep repitty-rep'
Send a message via AIM to PapaZeb Send a message via MSN to PapaZeb Send a message via Yahoo to PapaZeb Send a message via Skype™ to PapaZeb
Re: Script to print all files in folder and subfolders

with WMI/VBS it's a pain in the ass (but since I'm dead at work, I might as well give it a shot when I go to work today)

If you just need it enumerated and VBS isn't a requirement, how about

Start -> Run -> CMD

dir /s NAMEOFDIRECTORY > c:/directory.txt

Open c:/directory.txt in notepad or whatever. Hit PRINT.

I'd use
dir /s /b NAME > c:/directory.txt
since it'll just spit back filenames
__________________
PapaZeb is offline   Reply With Quote
 







Powered by vBadvanced CMPS v3.0.0


All times are GMT +0. The time now is 12:59am.

Forums Directory
Copyright 2000-2008, Alternative Nation
Page generated in 0.22490 seconds with 17 queries