PDA

View Full Version : Printing the directory



19-05-2002, 07:10 PM
I used Rob Clarke's reply to Joanne Doolin's query about printing the directory and it did not work. I may be puting the spaces in the wrong place. First I tried the recommendation with no spaces then with several the answer showed might be spaces.

Then I changed the 'O' to a '0' (Oh to zero). None of it worked and it says it cannot find the parth.

Here is what I have at present
@echo off
dir%1/-p/0:gn>'%temp%\dir.txt'
notepad/p'%temp%dir.txt'

What have I got wrong?