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.

Script Copy error

Postby tas3086 » Tue Aug 13, 2013 12:44 pm

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
tas3086
 
Posts: 208
Joined: Mon Mar 19, 2012 11:15 am

Re: Script Copy error

Postby TeraByte Support » Tue Aug 13, 2013 2:00 pm

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

TeraByte Support
 
Posts: 2281
Joined: Thu May 05, 2011 3:37 pm


Return to Scripting

cron