Skip to main content

Hello,

i use this command on SO linux : CALL "C$SYSTEM" USING "mv -f  /usr/dos/file1.txt  /usr/xxx/file2.txt" 

if file1.txt is locked system display "cannot mv file locked ... " 

how can i do to not display this message ? 

Hello,

i use this command on SO linux : CALL "C$SYSTEM" USING "mv -f  /usr/dos/file1.txt  /usr/xxx/file2.txt" 

if file1.txt is locked system display "cannot mv file locked ... " 

how can i do to not display this message ? 

Hi,

you could try something like this: "mv -f /usr/dos/file1.txt  /usr/xxx/file2.txt 2> /tmp/trash"


Hi,

you could try something like this: "mv -f /usr/dos/file1.txt  /usr/xxx/file2.txt 2> /tmp/trash"

ok thanks it works!