in reply to why can't I

thank you guys,especially to Tux. but I got a warning :permission denied when attempted to run the updated code. if i mute the open and close lines within the while loop, fine, DOS will prompt all the file names under srt directory. please!

Replies are listed 'Best First'.
Re^2: why can't I
by ig (Vicar) on Oct 27, 2010 at 18:55 UTC

    It will be easier to help if you post your modified code and the exact error message (cut and paste, not paraphrase).