• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Windows (DOS) batch scripting question

aux

Senior member
I am not even sure if this is possible in Windows, but I am trying to find a way to run a perl script on all files with some extension in the current directory and its subdirectories. In *nix I could do something like (see code below), but how to do this in Windows/DOS?



 
not without some extra stuff or something very creative

it would be much easier to do it in VBScript
 
ok, i'll amend, that, for me, i would do it in vbscript, but it would be longer than that


i'd go with MrChad on this one. back to OT for me 😱
 
Originally posted by: FoBoT
ok, i'll amend, that, for me, i would do it in vbscript, but it would be longer than that


i'd go with MrChad on this one. back to OT for me 😱

You can do some pretty cool stuff with straight batch files. I had to google some of the syntax though.
 
why not just put this into the perl script? SHould be dead easy to read the directory(s) and then sort, pop the stuff you want into an array and loop through that array.
 
Back
Top