View Full Version : batch file issue

11-30-2009, 05:30 PM
I'm trying to code something in batch and i need some help...

I need to change the batch files dir to the only folder in the next folder
move from folder 1 to folder 2

contents of folder 1:
folder 2

however i don't know the real name of folder 2 so I need batch file to like pick the folder by its number or something....

is there a solution(i would like to code this in batch)

Philip M
11-30-2009, 05:43 PM
JavaScript is purely a client-side language, and no capability write to a file, communicate with the server, or access the client's operating system.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

rnd me
11-30-2009, 10:59 PM
you can actually extract the folder's number using dos's SET command, but this isn't the place to ask about batch command....

you might also look into jscript or vbscript shell scripts; they provide command line access to a more-familiar programming environment.