MSFN Forum: File & Folder Copy problems.... - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

File & Folder Copy problems.... Finally tested the above and have troubl Rate Topic: -----

#1 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

  Posted 24 April 2004 - 12:20 AM

Couple of issues:

1. When i try to copy a file over another file i get an access denied. Is there a way to make it copy over files instead of first deleting every file?

2. How do i copy the contents of a folder to another folder? As opposed to just copying the entire folder over.

Here are the commands i used in my xml.

<item display='Installing mIrc'>
<dircopy directory='%SOURCEPATH%\PostInstall\Applications\MIRC' target='%SYSTEMDRIVE%\Program Files\mIRC\' />
<filecopy source='%SOURCEPATH%\PostInstall\Applications\MIRC\MIRC.lnk' target='%SYSTEMDRIVE%\Documents and Settings\All Users\Desktop\' />
<filecopy source='%SOURCEPATH%\PostInstall\Applications\MIRC\MIRC.lnk' target='%SYSTEMDRIVE%\Documents and Settings\All Users\Start Menu\Programs\mIRC\' />
</item>
<item display='Installing WCPU'>
<dircopy directory='%SOURCEPATH%\PostInstall\Applications\wcpu31a' target='%SYSTEMDRIVE%\Program Files\WCPU31a\' />
<filecopy source='%SOURCEPATH%\PostInstall\Applications\wcpu31a\wcpuid.lnk' target='%SYSTEMDRIVE%\Documents and Settings\All Users\Desktop\' />
</item>
<item display='Patching Flash FXP'>
<filecopy source='%SOURCEPATH%\PostInstall\Applications\Patches\FlashFXP.exe' target='%SYSTEMDRIVE%\Program Files\FlashFXP\' />
</item>
<item display='Patching Age of Mytholgoy'>
<dircopy directory='%SOURCEPATH%\PostInstall\Applications\Patches\AOM' target='%SYSTEMDRIVE%\Program Files\Microsoft Games\Age of Mythology\' />
</item>
<item display='Registry Tweaks'>
<registry display='Tweaks being installed...' method='write'>
;Finalizing Windows Install...
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"cleanup"="C:\\sysprep\\cleanup.cmd"
</registry>
<registry display='Registering MIRC...' method='write'>
;Registering MIRC...
[HKEY_CURRENT_USER\Software\mIRC]

[HKEY_CURRENT_USER\Software\mIRC\License]
@="removed"

[HKEY_CURRENT_USER\Software\mIRC\UserName]
@="HEVNBND"
</registry>


For some reason none of the icons on the desktop where created i got access denied errors not sure why :) Thanks for the help. B

Attached File(s)




#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 24 April 2004 - 06:16 AM

1. No. I believe it's hardcoded into the software.

2. What exactly are you asking? You don't want to move the folder? Let me guess, you're getting a subfolder inside of the folder you want the files to be in?


Download the new Xplode, but if you're using GUIInstall or like a previous version for whatever reason, just take the file fileops.xpd from the zip and put it in your current folder. Then open the XML to see it's syntax. You can use filemasks in your copy commands which should do what you want.


You may also want to remove your mIRC serial number

#3 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

Posted 25 April 2004 - 12:41 AM

I am wanting to copy the contents of a folder into another folder.

Like this

Mirc
-serial
-.exe
-.cab

into

Program files\Mirc

Not program files\Mirc\Mirc

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 25 April 2004 - 07:47 AM

did you get download the new XPlode and take out it's FileOPs file? and then read the XML file include?

#5 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

Posted 25 April 2004 - 10:42 PM

Got the new version. What is filemasks? Thanks in advance. B

#6 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 26 April 2004 - 06:13 AM

like *.* would be all files...

*.dll would be all dll files in the folder

it's just like a dos prompt

#7 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

Posted 26 April 2004 - 12:43 PM

Thanks Alonoll, All works great if only i did not have to delete the files before copying the files into the folders. If anyone figures out away to allow the files being copied to replace files in the destination folder that sure would be great.

#8 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 26 April 2004 - 01:34 PM

i thought XPlode deleted before copying......hmmmm

#9 User is offline   Wraith 

  • Dr. Nick
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,256
  • Joined: 01-January 04

Posted 26 April 2004 - 04:43 PM

It does. Theoretically.

#10 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 26 April 2004 - 04:48 PM

haha, theories.

I once had a theory that I had a theory. I could never prove it though. :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy