English 中文(简体)
Easiest language to produce a Windows executable to prefix running another executable with system calls?
原标题:

I want to run some system commands (to fix things) before running an executable. I have a reasonably locked down (work) Windows XP system and so can t change what a shortcut points to. For my users convenience, I must keep the same shortcut. However, I am able to swap out the .exe (renaming) and potentially replace it with another .exe (of the same name) which runs my system commands and then runs the original .exe.

What would be the easiest and quickest language/compiler to do this in? Previously, I ve done this sort of thing in C (and tried it today in Python using py2exe without much success). Preferably free solutions.

最佳回答

Visual C# 2008 Express Edition is

  • free
  • comes with a compiler
  • outputs exes
  • C# is a good choice if you have C experience
  • .net currently is the "canonical" Windows platform
问题回答

暂无回答




相关问题
How Can I Check To See If the User Set His Clock Back?

In my desktop program, I want to check that to see if the user has set his clock back. To do so, I compare the timestamp of certain Operating System files to the current computer date. If any are ...

How can i add a button to all windows explorer instances?

I am trying to add a button to one of the existing tool bars in any windows explorer instance. After much research i figured out that BHO (browser helper objects) are the best way to hook to ...

Migrating to Windows 7 - How will this impact my software?

I want to migrate to Windows 7 from XP, and I have some questions: Will Oracle 10g and SQL Server 2008 work? Will my C# programming (in Visual Studio 2003, 2005 and 2008) work? Do I need to do ...

Log my battery performance on netbook [closed]

Which Windows API (Windows Xp and Window 7) do I use to log my battery performance on netbook? I want to write an app which can graph the watt vs time. I always run a select few apps on the netbook. ...

PHP on IIS 5.1 is not working

I know this has been asked a few times here. But none of the suggestions or answers related to PHP on IIS have helped. I have tried installing PHP ON IIS 5.1 (XP SP 3) on two computers and it still ...

WPF Memory Leak on XP (CMilChannel, HWND)

My WPF application leaks memory at about 4kb/s. The memory usage in Task Manager climbs constantly until the application crashes with an "Out of Memory" exception. By doing my own research I have ...

热门标签