Results 1 to 3 of 3

Thread: Rename Folder I get SB_ERRORCODE = 603

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2004
    Posts
    4,260

    Default Re: Rename Folder I get SB_ERRORCODE = 603

    Hi Tim,

    IMO, errorcode = 603 does not come from your "Rename File/Folder" function when you rename a folder.

    See attached screenshots. The installer tries to rename the c:\test folder to c:\testX

    Test 1: the c:\test folder does NOT exist. The function fails, the return value is "0".

    Test 2: the c:\test folder exists and is NOT locked. The function renames c:\test to c:\testX (success) and the return value is "1".

    Test 3: the c:\test folder exists but is locked. The function fails, the return value is "0".

    BTW, return value 603 is not defined for the MoveFile Windows API.

    Friedrich
    Attached Images Attached Images     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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