Script Copy error

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
Post Reply
tas3086
Posts: 316
Joined: Mon Mar 19, 2012 6:15 pm

Script Copy error

Post by tas3086 »

This part of my script:
if ext("OPEN FS 5: "#tdxx#" 0x"#tpxx)=0 then
ext("COPY \ifd.log 5:ifd1.log /y ")
ext("CLOSE FS 5:")
end if
generates the following error :
"Copying \IFD.LOG...Error: Unable to create file 5:ifd1.log"

5: is a NTFS drive. Do I have a permission problem? If so, how do I set/correct the write permission?

(this error running under (Windows32) tbosdtw.exe. Seems to work fine under (DOS) tbosdt.exe to the same NTFS drive)

Thank you in advance
TeraByte Support
Posts: 3596
Joined: Thu May 05, 2011 10:37 pm

Re: Script Copy error

Post by TeraByte Support »

Set your locking options to 1 or 2 prior to mounting...

ext("Set Option Locking 1")


"tas3086" wrote in message news:6068@public.scripting...

This part of my script:
if ext("OPEN FS 5: "#tdxx#" 0x"#tpxx)=0 then
ext("COPY \ifd.log 5:ifd1.log /y ")
ext("CLOSE FS 5:")
end if
generates the following error :
"Copying \IFD.LOG...Error: Unable to create file 5:ifd1.log"

5: is a NTFS drive. Do I have a permission problem? If so, how do I
set/correct the write permission?

(this error running under (Windows32) tbosdtw.exe. Seems to work fine under
(DOS) tbosdt.exe to the same NTFS drive)

Thank you in advance

Post Reply