Hi everyone, i'm trying to execute a .bat file through a c# console application using code from here:
Kevin's solution kinda works, but some commands in my .bat file get ignored for some reason, but when i manually execute the .bat file all commands work just fine. e.g. xcopy command doesn't work while executing .bat from console app.
Any idea why this happens?
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.