Delete file in filesystem

composti

New Member
Hello,

I want to delete a file (e. g. c:\export\exportprogress.txt) with progress commands. File permission is given for everyone and the file is not protectetd.

Is it possible to to this with progress commands?

Is there a progress command witch supports UNC \\Sever\folder\file.txt
 
You can always run an external commandfile that does the thing for you, like this :

output to value(session:temp-dir + "mycommand.cmd").
put unformatted "del c:\export\exportprogress.txt" skip.
output close.

os-command silent value(session:temp-dir + "mycommand.cmd").

That way you can make really large 'DOS'-actions (read batchfiles), that you can execute from within progress.

Of course the native function OS-DELETE gives you more control over error-situations + it works also on UNIX.

Dominiek
 
Back
Top