Git Product home page Git Product logo

Comments (4)

Penecruz avatar Penecruz commented on June 26, 2024

Hi Snacko, I'm unable to reproduce this, I gather you have .txt files opened always by Notepad++? It should run the command window and does on three systems I have tried it on.

The code calls for updater.cmd

{

    try
    {

        string basefolder = State.Proxy.SessionState["VA_APPS"] + "\\" + Products.Products.Families.Vaicom.VaicomProPlugin.rootfoldername + "\\";
        string localfolder = basefolder + "Updates" + "\\";

        if (File.Exists(basefolder + "updater.cmd"))
        {
            File.Delete(basefolder + "updater.cmd");
        }

        if (Directory.Exists(localfolder))
        {
            Directory.Delete(localfolder, true);
        }

    }
    catch (Exception e)
    {
        Log.Write("Cleanup: " + e.Message, Colors.Text);
    }

}```

from vaicompro-community.

Snacko avatar Snacko commented on June 26, 2024

As I said in the last sentence of my original post, I changed Notepad++ and removed it's .cmd file association. Then ran the update again, and it worked fine. It was not opened in Notepad++.

I think I have also had .bat files called from programs to run, and I also have .bat files associated with Notepad++. But they just run and don't open in Notepad++.

I think you understand what I mean? And if it doesn't do that on your systems, then maybe there is something with .cmd files on my system that is causing this. It just started with this last release. But I did just reinstall a fresh windows 10 pro about 5 weeks ago, so maybe something is different on this OS?

Anyhow, if nobody else has this problem, then don't waste any time on it. It was just surprising that it happened, and I had never seen that before..

Cheers!! And thanks for all of your great work!!

from vaicompro-community.

Penecruz avatar Penecruz commented on June 26, 2024

No worries, Thanks I'll leave this issue open for while in case anyone else has the issue and comments.

from vaicompro-community.

Penecruz avatar Penecruz commented on June 26, 2024

Closeing now as no further eports. thanks for the original report.

from vaicompro-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.