Women in Technology

Hear us Roar



Article:
  Printing Directory Listings
Subject:   Output Directory contents to a txt file
Date:   2008-08-21 07:50:11
From:   phillipsb
I foloowed the steps above, but I didn't want to have a hardcopy, I wanted to copy & paste the list into an excel file.
I modified the script to be:
@echo off
dir %1 /b /-p /o:gn > "c:\Listing.txt"
start /w notepad "c:\Listing.txt"
exit