Results 1 to 6 of 6

Thread: Difference between ShellCopy and regular Copy

  1. #1
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    43
    Posts
    222
    Rep Power
    39

    Difference between ShellCopy and regular Copy

    The description of ShellCopy says that a file is copied "using operating system file intrinsic operations." And, ShellDelete uses "operating system file operations." What does this mean?

    How is file_copy different than file_ShellCopy?

    Mark ???

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    FILE... functions are functions mainly developed by us and they works at byte level.

    Shell... functions are wrappers of functionalities present in the OS environment. More info at http://msdn.microsoft.com/en-us/library/bb762164(VS.85).aspx
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    43
    Posts
    222
    Rep Power
    39

    Re: Difference between ShellCopy and regular Copy

    Is there a reason or situation to use one over the other?

    Mark

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    Well, more or less no other than an undocumented (in thinBasic help) feature that FILE_Shell... functions support multiple file names passing them separated by a $NUL char.
    I will document it.

    MS documentation is at: http://msdn.microsoft.com/en-us/library/bb759795(VS.85).aspx
    Read fields pFrom and pTo

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    43
    Posts
    222
    Rep Power
    39

    Re: Difference between ShellCopy and regular Copy

    Quote Originally Posted by Eros Olmi
    Well, more or less no other than an undocumented (in thinBasic help) feature that FILE_Shell... functions support multiple file names passing them separated by a $NUL char.
    I will document it.
    Seems like I am always giving you something to do.

    Mark

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    Having nothing to do is the worst case.

    Anyway, do not exaggerate
    I'm just human
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. regular expressions usage
    By zak in forum General
    Replies: 4
    Last Post: 24-04-2011, 18:23
  2. what's the difference
    By sandyrepope in forum UI (User Interface)
    Replies: 3
    Last Post: 14-01-2008, 23:17

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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