Hello, I have 2 questions, i'm not sure if it's even possible but if I'm wrong please correct me.

So, i need to run my .exe file in cmd via vb6, is it possible?

And second,if it's possible to run, how can I find the path and the name of the exe file, what do I mean? for example this exe, could be saved on the desktop with name test1.exe, but also could be saved in folder downloads with name test2.exe

  1. Yes.
  2. You wrote where test1.exe and such could be. I haven't coded VB6 for years but there is a function that returns if a file exists. Use that.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.