Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Navigate to a directory's only subdirectory (batch file)

$
0
0
If I use the "cd" command to navigate to a directory in my C: drive via a batch file, and in that directory there's only one subdirectory but I don't know its name, is there a way I can navigate to that subdirectory? Is there some kind of environment variable I could use? Thanks in advance!

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>