Those were the days.
Actually, quite a lot of spyware/firewall programs block unrecognised .BAT files from executing, seeing as they can do pretty much anything.




Those were the days.
Actually, quite a lot of spyware/firewall programs block unrecognised .BAT files from executing, seeing as they can do pretty much anything.


Yes your right some firewall stop apps from launching stuff, but thats up to the user to allow the functionality or not.
As for bat files being out of date, I disagree, they are more powerful today then ever.
Microsoft has implimented many of the characteristics of a Unix shell in there cmd funcitionality.
Including piping, and redirecting outputs. They just don't have the Unix way of doing things. ie. treating everthing like a file, for example you want you know the cpu usage, you would read a file into your app.
Anyway if you don't like my suggestion you can always use loops or somebody can make an extension.<img src="/center/images/graemlins/smile.gif" alt="" /![]()
Hmm it all worked great, kinda. Nothing gets copied... I generate this command line:
xcopy "C:\Documents and Settings\???\Desktop" "C:\" /E /C /Q /G
(??? was my name but i blanked it :P)
and I send that command line to C:\WINDOWS\system32\cmd.exe but when I try it all I get is a breif flash of command prompt :S I can upload the file if you want to look at it?


Try
xcopy "C:\Documents and Settings\???\Desktop\*.*" "C:\" /S /C /Q /G /I
The best way to see if it works is try it manually first at the command line.
If it works manually it will definetly work in MMF.
You need to pick the correct switch settings, I was estimating the switches.
I tried something similiar to the above and it seemed to work.
If you don't put the /I in it prompt you for a file or directory. You've got to tell it in advance to make it.
As I said experiment.
The only problem with MMF is that when you run a cmd line you can't get the errorlevel from it when command returns.
Its a feature missing from MMF. If it could return a errorlevel then batch files could communicate with MMF directly via errorlevel codes.
http://www.clickwiki.info/index.php/...ature_Requests




If you haven't turned echo off, try putting "pause" as the last line of the batch file so that you can examine any feedback you get.
You could set up a batch file to run the other batch file and output the errorlevel returned, though this solution seems faintly ridiculous.
you're all forgetting the tree object <img src="/center/images/graemlins/laugh.gif" alt="" /> <img src="/center/images/graemlins/laugh.gif" alt="" /> <img src="/center/images/graemlins/laugh.gif" alt="" />
much easier if you use that
& i'm making an example now
OK - you can find an example at the usual place in the "data" section.
(for the slower of you go to Examples.)
Raytrace your site doesn't load for me, In firefox alot of code comes up and in IE it doesnt load at all... Wierd...
joewski thanks for all the help I got a working .bat file now <img src="/center/images/graemlins/smile.gif" alt="" /> but I havnet tested it with the number of documents I plan to, yet. I'll try today I think... There's no way to find the progress is there?