On Thu, 23 Aug 2007, Thane Sherrington wrote:

Is there a command to change directory to go down one level of the folder structure - the reverse of cd.. basically? I have a folder that only has one subfolder, but I don't know the name of that subfolder before I run the script.

for /r "C:\MyPath\" %i in (.) do dir %i

Will walk the directory structure under C:\MyPath\ and print out a directory listing. Edit the command to your liking.



Christopher Fisk
--
Bender: I can't keep running people over. I'm not famous enough to get away with it.

Reply via email to