Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

moji

Re: ini file being used by another porcess

martin wrote:

In general you should not rely on external configuration in your scripts.
To isolate your script from any configuration, use /ini=nul command line switch:
https://winscp.net/eng/docs/scripting#configuration

If you really want to use an external configuration INI file (though again, you should not), set the INI file read-only to prevent WinSCP from trying to update it.
https://winscp.net/eng/docs/config#ini_readonly


We set the INI file read-only. It works. Thanks for your help.
Moji

ini file being used by another porcess

When I execute winscp script, I am getting this.
Can't create file 'C:\winscp\winscp.ini'
The porcess cannot access the file because itis being used by another process.

The error occur only when a lot of scripts are running together. If one or two scripts are running together is ok.

Please help me to resolve the problem.

Thanks!