Process can't access file as it's being used by another process

Discussion in 'Nero discussion' started by onechewy, Oct 31, 2007.

  1. onechewy

    onechewy Member

    Joined:
    Oct 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hello! I had a batch file running that had this in it:

    "C:\Program Files\Ahead\Nero\NeroCmd.exe" --write --drivename e --real --no_user_interaction --speed 4 --dvd --recursive --iso IncBackups J:\APTBackups\IncBackups\*.* --create_iso_fs --close_session

    That worked fine. Then I changed it to this:

    "C:\Program Files\Ahead\Nero\NeroCmd.exe" --write --drivename e --real --error_log J:\APTBackups\IncBackups\NeroLog.txt --nero_log_timestamp --no_user_interaction --speed 4 --dvd --recursive --iso IncBackups J:\APTBackups\IncBackups\*.* --create_iso_fs --close_session

    And now I'm getting the below error..

    Can someone please spot what I'm doing wrong??

    Thanks - Emily

    Windows 2000 5.0
    IA32
    WinAspi: -
    ahead WinASPI: File 'C:\Program Files\Ahead\Nero\Wnaspi32.dll': Ver=2.0.1.74, size=164112 bytes, created 26/10/2004 16:35:32
    Nero API version: 6.6.0.14
    Using interface version: 6.3.1.11
    Installed in: C:\Program Files\Ahead\Nero\
    Application: ahead\Nero - Burning Rom
    Internal Version: 6, 6, 0, 14d
    Recorder: <DVDRW IDE H16X> Version: B02V - HA 0 TA 1 - 6.6.0.14
    Adapter driver: <atapi> HA 0
    Drive buffer : 2048kB
    Bus Type : via Inquiry data (1) -> ATAPI, detected: ATAPI
    Connected to MMC as unknown drive with class-nr : 1
    Drive is autodetected - recorder class: Std. MMC recorder
    === Scsi-Device-Map ===
    CdRomPeripheral : DVDRW IDE H16X atapi Port 0 ID 0 DMA: Off
    CdRomPeripheral : DVDRW IDE H16X atapi Port 0 ID 1 DMA: Off
    CdRomPeripheral : DVDRW IDE H16X atapi Port 1 ID 0 DMA: Off
    CdRomPeripheral : DVDRW IDE H16X atapi Port 1 ID 1 DMA: Off
    DiskPeripheral : FUJITSU MAX3036NP 5D03 aic78xx Port 2 ID 0 DMA: Off
    DiskPeripheral : FUJITSU MAW3073NP 5803 aic78xx Port 2 ID 1 DMA: Off
    CdRomPeripheral : MH0371E NXQ353S 2.0B vaxscsi Port 3 ID 0 DMA: Off
    === CDRom-Device-Map ===
    DVDRW IDE H16X D: CDRom0
    DVDRW IDE H16X E: CDRom1
    DVDRW IDE H16X F: CDRom2
    DVDRW IDE H16X G: CDRom3
    MH0371E NXQ353S H: CDRom4
    =======================
    AutoRun : 1
    Excluded drive IDs:
    WriteBufferSize: 83886080 (0) Byte
    ShowDrvBufStat : 0
    BUFE : 0
    Physical memory : 1471MB (1506800kB)
    Free physical memory: 975MB (999348kB)
    Memory in use : 33 %
    Uncached PFiles: 0x0
    Use Inquiry : 1
    Global Bus Type: default (0)
    Check supported media : Disabled (0)
    31.10.2007
    NeroAPI
    15:05:43 #1 WINPFILE 32 File CPortableWinPFile.cpp, Line 268
    The process cannot access the file because it is being used by another process.

    J:\APTBackups\IncBackups\NeroLog.txt
    15:05:43 #2 WINPFILE 32 File CPortableWinPFile.cpp, Line 268
    The process cannot access the file because it is being used by another process.
    J:\APTBackups\IncBackups\NeroLog.txt
    15:05:43 #3 WINPFILE 32 File CPortableWinPFile.cpp, Line 268
    The process cannot access the file because it is being used by another process.
    J:\APTBackups\IncBackups\NeroLog.txt
    15:05:43 #4 WINPFILE 32 File CPortableWinPFile.cpp, Line 268
    The process cannot access the file because it is being used by another process.
    J:\APTBackups\IncBackups\NeroLog.txt
    15:05:43 #5 WINPFILE 32 File CPortableWinPFile.cpp, Line 268
    The process cannot access the file because it is being used by another process.
    J:\APTBackups\IncBackups\NeroLog.txt
    15:05:43 #6 Text 0 File Reader.cpp, Line 127
    Reader running
    15:05:43 #7 Text 0 File AudioCompilationImpl.cpp, Line 842
    DRM: StartDrmRecording(RealRec:1, ImageRec:0, Copies:1)
    DRM: Beginning burn process.
    15:05:43 #8 ISO9660GEN -11 File geniso.cpp, Line 3297
    First writeable address = 0 (0x00000000)
    15:05:52 #9 Text 0 File Burncd.cpp, Line 3230
    Turn on Disc-At-Once, using DVD media
    15:05:54 #10 Phase 41 File APIProgress.cpp, Line 276
    Compilation will not fit onto a blank disc
    15:05:54 #11 Text 0 File DlgWaitCD.cpp, Line 267
    Total nr blocks on disc: 1611965972 (358214:39.47), 3148371MB
    Max nr blocks on disc: 4718592 (1048:34.42), 9216MB
    15:05:54 #12 Text 0 File DlgWaitCD.cpp, Line 279
    Write in overburning mode: NO
    15:05:54 #13 Text 0 File DlgWaitCD.cpp, Line 2433
    Recorder: DVDRW IDE H16X
    Medium not present
    15:05:54 #14 Text 0 File DlgWaitCD.cpp, Line 445
    >>> Protocol of DlgWaitCD activities: <<<
    =========================================
    Not enough free discspace.
    Medium in drive: DVD-R. Medium required by compilation: DVD+R/RW, DVD-/RW, DVD-RAM, DVD-R DL, DVD+R DL.)
    15:05:54 #15 Text 0 File AudioCompilationImpl.cpp, Line 867
    DRM: DRM burn session terminated.
    15:05:54 #16 Text 0 File AudioCompilationImpl.cpp, Line 896
    DRM: Closing entire DRM handling. Bye.
    Existing drivers:
    Registry Keys:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\AllocateCDROMs : 0 (Security Option)
     
  2. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    I think it's because the J:\ directory is being accessed twice.
    If the bat file is ran from the desktop - that's where the log is created.

    "C:\Program Files\nero\Nero 7\core\NeroCmd.exe" --write --drivename e --real --nero_log_timestamp --no_user_interaction --speed 4 --dvd --recursive --iso IncBackups j:\APTBackups\IncBackups\*.* --create_iso_fs --close_session
     
  3. onechewy

    onechewy Member

    Joined:
    Oct 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Marvellous! That worked perfectly thanks :D
     
  4. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    Okey-dokey.
     

Share This Page