Jump to content











Photo
- - - - -

FileCopy telnet.exe failed


  • Please log in to reply
2 replies to this topic

#1 yorkchoi

yorkchoi
  • Members
  • 5 posts
  •  
    Hong Kong

Posted 20 February 2012 - 08:22 AM

Hi all,
I'm new to winbuilder, and now I'm trying to create a script for myself,

I try to copy the telnet.exe by using this command:
FileCopy,"%WindowsSystemDir%\telnet.exe","%TargetDir%\Windows\system32"

but this is the result.
FileCopy - Failed to copy [C:\windows\system32\telnet.exe] to: [C:\Win7_PE_4\Target\Windows\system32\telnet.exe]: The system cannot find the file specified.

I know the telnet.exe is there, but just can't copy it...

any clues?

Thanks.

#2 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 20 February 2012 - 12:37 PM

You are running on 64 bit windows and are not looking in the correct system32 ( system32 or syswow64 ). A 32 bit process ( assuming file redirection is not switched off ) is actually reading from c:windowssyswow64.

You need to give full details about your host os and the source os to diagnose problems. Normally a full winbuilder log file is suggested.

#3 yorkchoi

yorkchoi
  • Members
  • 5 posts
  •  
    Hong Kong

Posted 21 February 2012 - 01:37 AM

Thanks a lot, I found out just copy telnet.exe and telnet.exe.mui is not enough, I believe I have to use package managerif I want to add telnet into my PE, any idea how to use it?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users