help with Xcopy – File name or Directory

Home Forums Scripting General Scripting help with Xcopy – File name or Directory

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Retaliator
    Member
    #128433

    Hi guys,

    i have searched the internet and google and tried a few switches of xcopy but it still happens and ask if specific OCX is Filename or Directory.

    xcopy \bprbas1basbinocxOCXs.log c:basbinOCXs.log /q /y
    xcopy \bprbas1basbinocxBAS_DBTable.ocx c:basbinocxBAS_DBTable.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_DBTable2.ocx c:basbinocxBAS_DBTable2.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_Pelecard.ocx c:basbinocxBAS_Pelecard.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_WebBrowser.ocx c:basbinocxBAS_WebBrowser.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_ComboL.ocx c:basbinocxBAS_ComboL.ocx /q /y /h /r
    rem register ocxs
    regsvr32 /s C:BASBINOCXBAS_DBTable.ocx
    regsvr32 /s C:BASBINOCXBAS_DBTable2.ocx
    regsvr32 /s C:BASBINOCXBAS_Pelecard.ocx
    regsvr32 /s C:BASBINOCXBAS_WebBrowser.ocx
    regsvr32 /s C:BASBINOCXBAS_ComboL.ocx

    [/CODE]

    this is part of the code, and for example on BAS_DBTable2.ocx it asks that :

    Does __ specify a file name or directory name on the target (F = file, D = directory)?[CODE]

    xcopy \bprbas1basbinocxOCXs.log c:basbinOCXs.log /q /y
    xcopy \bprbas1basbinocxBAS_DBTable.ocx c:basbinocxBAS_DBTable.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_DBTable2.ocx c:basbinocxBAS_DBTable2.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_Pelecard.ocx c:basbinocxBAS_Pelecard.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_WebBrowser.ocx c:basbinocxBAS_WebBrowser.ocx /q /y /h /r
    xcopy \bprbas1basbinocxBAS_ComboL.ocx c:basbinocxBAS_ComboL.ocx /q /y /h /r
    rem register ocxs
    regsvr32 /s C:BASBINOCXBAS_DBTable.ocx
    regsvr32 /s C:BASBINOCXBAS_DBTable2.ocx
    regsvr32 /s C:BASBINOCXBAS_Pelecard.ocx
    regsvr32 /s C:BASBINOCXBAS_WebBrowser.ocx
    regsvr32 /s C:BASBINOCXBAS_ComboL.ocx

    [/CODE]

    this is part of the code, and for example on BAS_DBTable2.ocx it asks that :

    Does __ specify a file name or directory name on the target (F = file, D = directory)?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.