Thanks for the tip Wayne, I'll check out your code!
In this case Thane was looking for an automated way of
getting to a sub-folder
without knowing it's name or asking for user input.
Wayne Johnson wrote:
> At 02:00 08-24-2007, j maccraw typed:
> There is also a method I've seen DriverPacks use t
Yes, it does also work for CD since it's same drive,
I've just gotten in the
habit of PUSHDing & POPDing in my batch files. If you
need it to work for a
drive other than current you'd have to change it a bit
at which point I'd say
"PUSHD drive:path" more straight forward than "CD /D
drive:path"
At 03:54 PM 23/08/2007, Ben Ruset wrote:
You want to go down one level, and into another directory?
No, sorry, I have a structure like this:
\temp
\temp\dir1
I'm in \temp and I want to move to \dir1.
T
At 04:17 PM 23/08/2007, j maccraw wrote:
With only one folder, easily enough done under XP:
for /d %f in (*) do pushd %f
Brilliant! Thanks.
This also appears to work as for /d %f in (*) do cd %f
T
With only one folder, easily enough done under XP:
for /d %f in (*) do pushd %f
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
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:\MyP
You want to go down one level, and into another directory?
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
b
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.
T