User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: Copying a directory?

  1. #11
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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="" /

  3. #13
    No Products Registered

    Join Date
    Jul 2006
    Location
    land, Australia (A.T.M)
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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?

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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

  5. #15
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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.

  6. #16
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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

    &amp; i'm making an example now

  7. #17
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    OK - you can find an example at the usual place in the "data" section.

    (for the slower of you go to Examples.)

  8. #18
    No Products Registered

    Join Date
    Jul 2006
    Location
    land, Australia (A.T.M)
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Copying a directory?

    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?

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. slow copying
    By FormerTGFGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th May 2013, 01:40 PM
  2. Cloning vs Copying
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th December 2010, 03:54 AM
  3. Copying files 2 another directory
    By SuperKirby64 in forum The Games Factory 2 - Technical Support
    Replies: 10
    Last Post: 4th January 2009, 06:16 PM
  4. copying frames.
    By bunnyonion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th July 2008, 08:48 PM
  5. Copying files to <hard drive>\my directory
    By mmcap in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 31st March 2008, 08:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •