|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
filecopy - correct use of syntax
Can someone please tell me the correct use of the filecopy sub....an example would be nice too
![]() Cheers
__________________
"Operator, Give me the number for 911" - Homer J Simpson JonnoWalmsley.com vv Latest Image vv
|
|
#2
|
|||
|
|||
|
It's a easy way to use fileobject to copyfile..This is a sample http://msdn.microsoft.com/library/d...mthcopyfile.asp
|
|
#3
|
||||
|
||||
|
i tried the stuff on msdn, and it works like a charm....my next question is why doesnt it copy executables properly? one of the things i need it to do is copy data from a .dat file, which is basically an exe with a different ending, and i need it to copy the data from the .dat to a .exe, but the exe doesnt execute when it does it...please help
|
|
#4
|
|||
|
|||
|
If u will change the file extend name,u can use copyfile method in fileobject like it:
FileSystemObject.CopyFile "c:\mydocuments\1.dat", "c:\tempfolder\1.exe" |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > filecopy - correct use of syntax |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|